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

Event for Canceled Remove

1 Answer 80 Views
Grid
This is a migrated thread and some comments may be shown as answers.
KRichter
Top achievements
Rank 1
KRichter asked on 15 Jul 2013, 05:55 PM
Hi,

I have a grid in a tabstrip widget with two tabs. Everytime no row is selected in the grid (tab1), I want to disable the other tab (tab2). Unfortunately the Change event doesn't fire when a row is unselected so I achieved this by using the Cancel, Save, SaveChanges and Remove events for now. But with this idea, tab2 is not disabled, when the user chooses to cancel the destroy operation.

Any ideas?

Dietmar

1 Answer, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 16 Jul 2013, 01:51 PM
Hello Dietmar,


I am sorry, but I did not quite understand the requirements of the current scenario. Since there is indeed no event fired when a row is un-selected, to implement this custom scenario, you could use the select() method of the Grid when needed and check if the current selection satisfies the condition.

Please let me know if this information was helpful for you. If that is not the case, please provide some additional details about the current scenario. I wish you a great day!

Regards,
Dimiter Madjarov
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
KRichter
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Share this question
or