My kendo Grid has a text field and a checkbox in two columns of a row. While cursor is in last column of the last row when i press TAB key i should add a new row to the grid.
I would be very helpful if you can provide a sample code for my requirement.
Thanks.
1 Answer, 1 is accepted
0
Dimiter Madjarov
Telerik team
answered on 27 Jun 2013, 08:12 AM
Hello Sriman,
Could you provide more information about the current Grid implementation, so I could be more helpful i.e. are the columns using templates with inputs and checkboxes or this behavior should happen in edit mode? If that is the case, what edit mode is the Grid using? In general you should bind to the keypress/keydown event, check if the current pressed key is a TAB and call the addRow method of the Grid to add the new row.
Regards,
Dimiter Madjarov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!