Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
515
DataGrid Cell Edit settings
posted

Hi,

I am using XamDatagrid.

I want to make single cell editable of particular column when record is selected.

I am using checkbox to select the row/record in the xamdatagrid.

I have tried the following syntax :

DataRecord dr=(DataRecord)xamDataGrid1.ActiveRecord;

dr.Cells["ColumnName"].Field.Settings.AllowEdit = true;

But this makes all the cells of that column editable. In actual it should make only one cell editable of activerecord.

Even other try i have done is :-

xamDataGrid1.ActiveRecord.FieldLayout.Fields[5].Settings.AllowEdit = true;

This also dont work.

Any help appreciated.

thanks

sejal