Hi,
I have a band in my table that I want to be read-only.
Currently there are 2 Bands. Band 0 is to be editable but Band 1 is to be read-only. I have set the following on Band 1:
Override.AllowAddNew = NoOverride.AllowDelete = FalseOverride.AllowUpdate = False
This prevents me from editing the band, but I wondered if there was a nice way to prevent entering the cell? I would prefer if the user clicked the cell it would just select it on that band. Is it possible?
Thanks,
Andez
Hi Boris,
Thats what I was after.
Many thanks,
Hello Andez,
I wanted to know if you were able to solve your issue based on these suggestions or you still need help. Please let me know.
Could you please try the following code:
e.Layout.Bands[1].Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.CellSelect;
Please do not hesitate to contact me if you need any additional assistance.