What is the difference between the readonly and browseonly in WinForms GridGroupingControl?
Difference between readonly and browseonly
By default, the ReadOnly and BrowseOnly properties are used to disable the edit mode in the grid. But these two properties have the following differences.
Differences
- In
the ReadOnly property, the whole grid or range of cells
can be restricted from being edited, but in the BrowseOnly property
the whole grid is restricted from being edited.
ReadOnly
C#
//Sets read only to whole grid
this.gridGroupingControl1.TableModel.ReadOnly = true;
//Sets read only to the record field cells
this.gridGroupingControl1.TableDescriptor.Appearance.RecordFieldCell.ReadOnly = true; VB
'Sets read only to whole grid
Me.gridGroupingControl1.TableModel.ReadOnly = True
'Sets read only to the record field cells
Me.gridGroupingControl1.TableDescriptor.Appearance.RecordFieldCell.ReadOnly = TrueBrowseOnly
C#
//Sets browseonly to avoid from being edited
this.gridGroupingControl1.BrowseOnly = true; VB
'Sets browseonly to avoid from being edited
Me.gridGroupingControl1.BrowseOnly = True - In the ReadOnly property, when the cell is clicked, the cursor is displayed in the cell, but in the BrowseOnly property, there is no cursor inside the cell.

- In the ReadOnly property, the filtering dropdown is enabled, and filtering operation is performed to the grid, but in the BrowseOnly property, there is no filtering operation.
