I have a xamTreegrid and i want to know if there's anyway to make a specific cell as Not Editable, for example, I want the first cell of the first row is editable, but the first cell of the second row is editable, please let me know if this is supported or not.
Hello, Haidar,
Every cell has 'IsEnable' property which you can use to enable/disable the cell.
Your code would be something like that:
void XDG1_InitializeRecord(object sender, InitializeRecordEventArgs e) { var dr = e.Record as DataRecord; if (dr != null) { dr.Cells["SKU"].IsEnabled = false; dr.Cells["ProductID"].IsEnabled = true; } }
Can also refer to this online help document for detail information.
Regards,