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

[Solved] clear active row in teleric grid

2 Answers 89 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Madhu
Top achievements
Rank 1
Madhu asked on 23 Mar 2013, 12:24 AM
We use a an older version of telerik web DLL  which doesn't support grid.clearActiveRow() method so can you please let me know how to go about it using code. I just want to clear the active row selection. Please help.

2 Answers, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 23 Mar 2013, 01:23 PM
Hello,

i think you want to remove/clear selected row.

If this is not your case then please elaborate scenario.

foreach (GridDataItem item in RadGrid1.MasterTableView.Items)
            {
                item.Selected = false;
            }


Thanks,
Jayesh Goyani
0
Madhu
Top achievements
Rank 1
answered on 23 Mar 2013, 04:50 PM
No Jayesh,

I want to clear the active item not the selected item. For selected Item we do have grid.clearSelectedItems() too, But I am looking for a way by which we can clear the active row. 

Thanks and regards

Madhu
Tags
Grid
Asked by
Madhu
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Madhu
Top achievements
Rank 1
Share this question
or