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

GridViewSelectColumn: How to only select visible rows?

1 Answer 105 Views
GridView
This is a migrated thread and some comments may be shown as answers.
DAVE
Top achievements
Rank 1
DAVE asked on 21 Apr 2015, 04:22 PM
I am using the GridViewSelectColumn to select rows.  When I have rows grouped I want it to only select rows with are visible (that is, whose groups are expanded) but it selects every row in the grid.  How do I do this?

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 23 Apr 2015, 03:21 PM
Hello David,

I am afraid the default 'select all' option cannot be configured differently. You can try implementing your own selection logic instead applying it over all the visible rows. Please note you can access them with the ChildrenOfType extension method.

For a more practical example you can check the BoundSelectColumn github example. Although GitHub is a very well-known platform we saw a better and easier approach for reviewing our examples by developing our SDK Samples Browser.

Regards,
Dimitrina
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
GridView
Asked by
DAVE
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or