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

Access client side event when inline edit is selected

2 Answers 68 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Darin
Top achievements
Rank 1
Darin asked on 15 Jan 2013, 10:27 PM
How can we capture client side when the edit button is clicked? From there we want to set the row as the selected row and perform other actions such as populaulting a detail view.

2 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 16 Jan 2013, 04:15 AM
Hi,

Try the following javascript to achieve your scenario.
JS:
function OnCommand(sender, args) {
       if (args.get_commandName() == "Edit") {
          //perform your actions here
       }
   }

Thanks,
Shinu
0
Darin
Top achievements
Rank 1
answered on 22 Jan 2013, 04:32 PM
Thank you Shinu
Tags
Grid
Asked by
Darin
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Darin
Top achievements
Rank 1
Share this question
or