BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
this.gridDataBoundGrid1.BaseStylesMap["Row Header"].StyleInfo.CellType = "Header";
this.gridControl1.AllowSelection = ((((((Syncfusion.Windows.Forms.Grid.GridSelectionFlags.Row | Syncfusion.Windows.Forms.Grid.GridSelectionFlags.Table)
| Syncfusion.Windows.Forms.Grid.GridSelectionFlags.Cell)
| Syncfusion.Windows.Forms.Grid.GridSelectionFlags.Multiple)
| Syncfusion.Windows.Forms.Grid.GridSelectionFlags.Shift)
| Syncfusion.Windows.Forms.Grid.GridSelectionFlags.Keyboard)
| Syncfusion.Windows.Forms.Grid.GridSelectionFlags.AlphaBlend);
Regards,
Jay N
this.gridControl1.ControllerOptions = GridControllerOptions.All & (~GridControllerOptions.OleDataSource);
or in VB.NET
Me.gridControl2.ControllerOptions = GridControllerOptions.All And Not GridControllerOptions.OleDataSource
If you do not want you user to move columns/rows (whcih will sow a dragdrop cursor as well, make you you have the grid.AllowDragSelectedCOls and grid.AllowDragSelectedRows set to false.