On GridGrouingControl :
1. How to check record in GridGroupingControl and display Error Message on Records where errors have been found ?
2. How to make a GridGroupingControl ReadOnly, so the user cannot change any value in the grid, but data can be changed programmatically ?
On GridDataBoundGrid :
3. How to check row in GridDataBoundGrid and display Error Message on Rows where errors have been found ?
4. How to make a GridDataBoundGrid ReadOnly, so the user cannot change any value in the grid, but data can be changed programmatically ?
ADAdministrator Syncfusion Team June 6, 2005 11:07 AM
Here is forum thread that has a sample that displays error indicators for both a GridGroupingControl and a GridDataBoundGrid.
You can make a GridGroupingCOntrol ReadOnly code like:
this.gridGroupingControl1.TableControl.Model.ReadOnly = true;
Then to make a programatic change, you can first call this.gridGroupingControl1.TableControl.Model.IgnoreReadOnly = true, then make your change, and then set this.gridGroupingControl1.TableControl.Model.IgnoreReadOnly = false;
With a GriddataBoundGrid, you cn do similar things, settin:
this.gridDataBoundGrid1.Model.ReadOnly = true;
and then using this.gridDataBoundGrid1.Model.IgnoreReadOnly to temporarily turn it off.