Hi All
I have a webgrid on my form. I want to know how to make my cell editable as soon as I click on that cell.
Thanks
Set your grid's DisplayLayout.CellClickActionDefault property to Edit (or "Infragistics.WebUI.UltraWebGrid.CellClickAction.Edit" if doing this in code). Alternately, you can set the CellClickAction property on the individual band to the same value.
Thanks for your reply. This will make all cells editable. I would like to do for certain columns only.
For example if I have 2 columns(Name and ID) in my webgrid and if I would like to do for one column (say Name) only.
I did allowupdate = no for the ID to whom i dont want to make editable.
Now I am able to make editable my Name column but on double click.
I would like to do same on just click.
Thanks. I appreciate your help. Its working now.
You can do both. If your CellClickActionDefault is set to "Edit", then any cell whose column is set with AllowUpdate = No will be activated when you click (and can't be edited even with a double-click), and any cell whose column is set with AllowUpdate = Yes will go into edit mode when you click it.