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

[Solved] OnInsert Event

2 Answers 45 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
dani
Top achievements
Rank 1
dani asked on 16 Jan 2011, 10:18 AM
Is there a way to catch the new row event - like OnEdit() ?
I wish to do some manipulation on the new inserted row (in edit mode).
But I don't want this manipulation to occur in existing rows in Edit Mode (hence the OnEdit Event doesn't help).

To be more specific - I have a dropdownlist , while in inset mode I want to pass values from the selected item to other columns.
but I don't want it to be enabled on regular edit mode at all....

How can I achieve this ?

2 Answers, 1 is accepted

Sort by
0
Accepted
Atanas Korchev
Telerik team
answered on 17 Jan 2011, 08:14 AM
Hello dani,

 There is a "mode" property of the event argument which helps you distinguish between insert and edit mode. You can check the documentation for the OnEdit event for additional info.

All the best,
Atanas Korchev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
dani
Top achievements
Rank 1
answered on 17 Jan 2011, 08:47 AM
I think there is a bug if you set insert mode without edit mode - you can't really insert.... (you get a new row, but no insert button, no cancel button)
Tags
Grid
Asked by
dani
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
dani
Top achievements
Rank 1
Share this question
or