Title: Question about datagrid-cellediting.js Post by: A-K on July 30, 2015, 02:32:43 AM Hey,
I have tried the extension datagrid-cellediting.js which is awesome! But for some weird reason, the onCellEdit event returns undefined in the value. Here is an example: http://jsfiddle.net/3L4ej4dx/50/ (http://jsfiddle.net/3L4ej4dx/50/) Press on any of the cells in the datagrid and an alert will pop up with the arguments from onCellEdit event, you will then see that the value is always undefined. Thanks! Title: Re: Question about datagrid-cellediting.js Post by: stworthy on July 30, 2015, 07:03:22 AM The 'value' parameter indicates the string from the pressed char code on keyboard. If you click on a cell, this value will be ignored.
Title: Re: Question about datagrid-cellediting.js Post by: A-K on July 30, 2015, 08:36:08 AM Thanks for the reply. seems like I do not fully understand how to use it properly.
Could you provide an example with this event that the value will have an effect? Thanks! Title: Re: Question about datagrid-cellediting.js Post by: stworthy on July 30, 2015, 06:41:41 PM Please refer to this updated example http://jsfiddle.net/3L4ej4dx/52/
Title: Re: Question about datagrid-cellediting.js Post by: A-K on July 31, 2015, 03:14:26 AM Thanks!
|