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

Cancel "ChangeRow" when user clicks a link/icon in that row

1 Answer 9 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Darko
Top achievements
Rank 1
Darko asked on 14 Feb 2014, 03:49 AM
Hi ,

Does anyone know of a way to cancel the "ChangeRow" event if the user clicks an icon/link in that row?

In my example I have several rows , some of the rows have columns with links/icons ... If the user clicks these links/icons I want to launch the respective content BUT I do not want the row to be selected i.e. I don't want the "ChangeRow" to be triggered..

Is what I'm asking even possible? I tried cancelling  propogration of the event from the link/icon click BUT the "ChangeRow" of the KendoGrid still fires..


1 Answer, 1 is accepted

Sort by
0
Darko
Top achievements
Rank 1
answered on 14 Feb 2014, 03:57 AM
I resolved this by changing our "ChangeRow" logic to use a promise... Then cancelling the promise when needed...

Sorry for the Post :)
Tags
Grid
Asked by
Darko
Top achievements
Rank 1
Answers by
Darko
Top achievements
Rank 1
Share this question
or