)
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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

What is the difference between the readonly and browseonly in WinForms GridGroupingControl?

Platform: WinForms |
Control: GridGroupingControl |
Published Date: April 21, 2015 |
Last Revised Date: December 24, 2019
Tags: readonly

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 = True

BrowseOnly

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.

displayed the cell value in readonly and browseonly

  • 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.

filtering dropdown in readonly and browseonly

2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

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

Up arrow icon

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

Live Chat Icon For mobile
Live Chat Icon