Hi Friends,I have a List<> object bound to the grid. I have 2 columns in the UltraGrid.I want to make the 2nd column editable. Here is the code I am using :-
e.Layout.Bands[0].Columns[1].CellActivation = Infragistics.Win.UltraWinGrid.Activation.AllowEdit;
The column does not become editable and the entire row gets selected on click.Please help.
Regards,Sid
Hi Sid,
If the whole row is getting selected when you click the cell, then this is probably because you have CellClickAction set to RowSelect.
Or... the field in the data source might be read-only.
Hi Mike,
I found the solution. I just reset the ActiveRowAppearance and ActiveCellAppearancethrough the properties window in Visual Studio .NETRegards,Sid.
Those appearance have no bearing on whether or not a cell will enter edit mode and they are not related to selected. Those apply to the active row. By default, they pick up the same appearance as a selected row, so it appears at though the active row is selected.
Mike i have noticed on many of your posts, you don't provide any examples. It would go a long way if you just put the code snippet in. We would all appreciate your expertise then instead of trying to find another source for the information.
Hi,
I post code snippets all the time. Unfortunately, I simply don't have the time to post code samples for every thread. If I post something that's not clear enough, just let me know and I will try to explain in more detail or post a code snippet as time permits. :)