This is a migrated thread and some comments may be shown as answers.

Grid Edit

1 Answer 30 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Howard
Top achievements
Rank 1
Howard asked on 17 Jan 2014, 05:22 AM
Hi Kendo Team,

I've a Panel bar in my page, and every panel bar has a grid in it. The problem is when I click on the edit button of the grid in the first panel bar and then the edit button of the grid in the second panel bar, the custom editors just goes haywire. Is it possible to have only one grid in edit mode? If I click in the edit button of the second grid, the edit mode of the first grid is cancelled and vice versa.

Please have a look at the image attached.

Thank you
Niroj

1 Answer, 1 is accepted

Sort by
0
Alexander Popov
Telerik team
answered on 17 Jan 2014, 10:39 AM
Hi Niroj,

Basically every KendoUI widget be initialized from a HTML element with a unique ID. In case there are two or more widgets with the same ID such behavior could be observed. In the current scenario I would recommend checking for HTML elements with duplicate IDs. In case this does not help you solve the issue I would ask you to provide additional details and if possible - a runnable solution where the issue is reproduced.
Regarding your second question - yes, editing only one Grid at a time is possible. You can achieve this by calling the cancelRow method of the first Grid once the second Grid's edit event is triggered.

Regards,
Alexander Popov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Howard
Top achievements
Rank 1
Answers by
Alexander Popov
Telerik team
Share this question
or