Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
5549
Select all rows by default
posted

Hi, is it possible when i display the webdatagrid all rows selected by default.
so i can get them all through

WebDataGrid1.Behaviors.Selection.SelectedRows

in an command event

Parents
  • 33839
    Suggested Answer
    posted

    Hi martin2004,

    The only way to do this would be to select them one by one (Add to SelectedRows).  There is no 'Select All' method on the client or server.  Furthermore, if you have paging or virtual scrolling, you'll only be able to select the rows in the current view.

    regards,
    David Young 

Reply Children