This documentation topic describes legacy technology. We no longer develop new functionality for the GridControl and suggest that you use the new DataGridView control instead.
In some real-life applications, it might be necessary to prevent end-users from editing data in a grid (modify cell values, insert or delete data rows), or restrict data shaping capabilities (data sorting, grouping and filtering), etc. For example, it may be necessary to show grid data to end-users as read-only.
To implement end-user restrictions in your application, you can use the following properties.
Specifies whether end-users are allowed to change cell data values, as well as insert and delete rows in the grid. You can prevent end-users from editing data in specific columns or in the entire grid.
In the read-only mode, a row in-place editor (or edit form) is not invoked on double-tapping a data cell, and the Edit Cell and Delete Row items disappear from the popup menu.
Specifies whether end-users are allowed to sort data in the grid. You can restrict sorting by individual columns, or disable this functionality for the entire grid.
Note that when sorting by a column is disabled, grouping by this column becomes unavailable as well.
If this functionality is disabled, the Sort Ascending, Sort Descending, Clear Sort Order and Group By items disappear from the popup menu, and data sorting in not applied when an end-user taps a column header.
Specifies whether end-users are allowed to manage (disable or clear) data filters currently applied in the grid using the filter panel.
By default, the filter panel is automatically shown at the bottom of the grid after a filter has been applied. Removing the filter hides this panel.
You can make this panel always visible or always hidden by using the FilterPanelVisibility property.
We are updating the DevExpress product documentation website and this page is part of our new experience. During this transition period, product documentation remains available in our previous format at documentation.devexpress.com. Learn More...
Was this page helpful?
Thanks for your feedback! Any other suggestions? Tell us here.