The Syncfusion® native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hi,
I''m using GridDataBoundGrid,
Let''s say I have data source datatable with
two Columns ''ID'' and ''Name''. I want to define
ID as non editable field in the grid and ''Name''
as editable one . Is it possible?
ADAdministrator Syncfusion Team April 20, 2005 04:51 PM UTC
Try settig these properties on the column you want to be readonly:
//if you have added GridBoundColumns
this.grid.GridBoundColumns["ID"].StyleInfo.ReadOnly = true;
this.grid.GridBoundColumns["ID"].StyleInfo.CellType = "Static"; //maybe do this???
//if you have not explicitly added GridBoundColumns
this.grid.Binder.InternalColumns["ID"].StyleInfo.ReadOnly = true;
this.grid.Binder.InternalColumns["ID"].StyleInfo.CellType = "Static"; //maybe do this???