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

MultiRow select in a Grid

1 Answer 56 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Zeeshan fawad
Top achievements
Rank 1
Zeeshan fawad asked on 18 Mar 2010, 02:35 PM
Hi ,
We are using RadControls_for_ASP.NET_AJAX_2010_1_309_dev in our site. In RadGrid control we are using MultiRowSelect property and also using context menue with it. If one row is selected and on other row if we right click , then second row also get selected. We want to deselect first row and select second row on right click.
May be we are trying to deselect any number of selected rows (could be 1 or more), on right click out side of that selection group. Can you please help us that how we can resolve this problem.

Regards,
Zeeshan

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 23 Mar 2010, 02:57 PM
Hi Zeeshan,

Basically, the requested functionality is not supported by the control out of the box.
However, to cater for this custom functionality, you can use the client side api of the control - after you detect the right mouse click, you can select another row:

http://www.telerik.com/help/aspnet-ajax/grid_selectitem.html

or deleselect the previous one:

http://www.telerik.com/help/aspnet-ajax/grid_deselectitem.html

Or, deselect all selected items, prior to selecting the next row:

http://www.telerik.com/help/aspnet-ajax/grid_clearselecteditems.html

I hope this information helps.

Sincerely yours,
Yavor
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.
Tags
Grid
Asked by
Zeeshan fawad
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or