We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to select all the Rows in the DataGrid(GridDataControl)

Thread ID:





97370 Nov 22,2010 11:19 AM UTC Nov 24,2010 01:31 PM UTC WPF 1
Tags: GridControl
Asked On November 22, 2010 11:19 AM UTC

I'm using a GridDataControl and while loading the DataGrid all the Rows in the DataGrid should be selected.

Ponraja A [Syncfusion]
Replied On November 24, 2010 01:31 PM UTC

Hi Ramana,

Thanks for choosing Syncfusion products.

You can achieve your requirement using SelectedRange property of the GridDataControl. In that we can add the full range of the grid while it is loaded then it will be select all rows in the grid.

[Sample Code]

void dataGrid_ModelLoaded(object sender, EventArgs e)

Please let us know if you need any more details.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon