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

RadGrid edit on clicking the row

1 Answer 94 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sigma
Top achievements
Rank 1
Sigma asked on 19 Nov 2012, 09:47 AM
Hi telerik,

I want to edit a row in my RadGrid on simply clicking the row. I don't want to use AutoGeneratedEditColumn or edit command column.
Please help ASAP..

Regards...

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 19 Nov 2012, 09:52 AM
Hi,

Try the following javascipt to achieve your scenario.
JS:
function OnRowClick(sender, eventArgs) {
       editedRow = eventArgs.get_itemIndexHierarchical();
       $find("<%= RadGrid1.ClientID %>").get_masterTableView().editItem(editedRow);
   }

Thanks,
Princy.
Tags
Grid
Asked by
Sigma
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or