Hi,
I'm not able to edit cell in the Ultragrid. I've set all the properties required for editing to true. I'm able to change the value in the cell, but as soon as I select a new cell, my update is not applied.
My grid is linked to bindingsource which is filled by a dataset.
Any idea ?
Thank you!
There was a property on my datasource to allow the update automatically. Setting this property to true solved my problem.
Thanks !
Does this happen for all columns?
The grid commits the change to the local data source, by default, every time the focus leaves the cell. So if the value is immediately being lost as soon as you tab or click out of the cell, then:
1) Your data source is rejecting the change for some reason. This will ordinarily fire the grid's Error event and show a message. So if this is the case, your application must be suppressing the message.
2) Something in your code is cancelling the commit. Perhaps you are handling the InitializeRow event and setting the value on the cell? Or handling some other event of the grid and calling CancelUpdate.
I tried to reproduce de problem in C#. I created a datatable that I linked to the grid. This is working correclty.
I guess that the problem come from the datasource.
I'll investigate on this.
Hi Mike,
Thanks for your answer.
The change are being undone as soon as the cell loose the focus.
Do I need to apply the modification to the datasource manually ?
I'll attach a sample soon.
Hello Vincent,
Thank you for contacting Infragistics!
What do you mean your update is not being applied? Is the change being undone in the UI/Grid Cell?Is the change not being applied to your local datasource?Or do you mean the change is not being made in your data base?How are you setting up the grid?Can you please attach a sample?