Hi, I have an editable column on my WebHierarchicalDataGrid. The column setting is like this :
<ig:EditingColumnSetting ColumnKey="Comments" ReadOnly="false"/>
But I want to make the cells editable only when they are blank. If the user enter text into some cell, the cell should turn into non-editable, until the database refresh the cell and make it blank again. So I have two questions :
1. How to make individual cells editable instead of the entire column ?
2. What event should I use to detect user inputting and make the cell non-editable ?
Thank you
Thank you . It works !!
Hi,
Here's a post which will explain how to make a specific cell readonly client side: http://community.infragistics.com/forums/p/37628/218529.aspx#218529
As far as you second question goes, you would use the exitededitmode to see that the user has entered something into the cell, and I guess you would use some global javascript variable to save that information and tell the enteringeditmode (in the above post) event to cancel the edit when that variable is set.
Ed