so I got DataGrid with ItemEditor which is a ComboBox. On 'itemEditEnd' event I do the following:
- update DataGrid's dataProvider,
- I even validate DataGrid
Everything works fine when the 'reason' of 'itemEditEnd' event is row change or column change. But when it comes to 'OTHER' reason the effect is that I can still see previous value on the dataGrid's cell. I still see previous value untill I click on any row in the DataGrid - then the cell updates.
I checked variables in debug mode and it seems everything is ok: dataProvider of DataGrid is updated, DataGrid's selectedItem value is the new value choosen in the ItemEditor.
I don't know what is going on. Help please:)
You probably have to call refresh() method on your dataProvider. That should help.
Why thank you Ibarim, that's very nice of you. Your advice worked indeed.