GridViewSelectColumn: How to only select visible rows?

2 posts, 0 answers
  1. DAVE
    DAVE avatar
    19 posts
    Member since:
    Jun 2010

    Posted 21 Apr 2015 Link to this post

    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?
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 23 Apr 2015 Link to this post

    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.

     
Back to Top