How to change the value of the unbound column when the other column is edited
The unbound column is using valueconverter
You can call .Refresh() in off the unbound cell in the CellExitEditMode off the grid. This will force the cell to update it's value.
grid.Rows[0].Cells["UnboundColumnKeyName"].Refresh();
I got it working
But I need to go to different cell and come back to the changed cell
How to avoid this?
I have to do it twice for some reason
I would need a sample to know what was going on. When a cell stops being the active cell the editing should finalize and allow for the events to fire.
I have code as
e)
{
)
key = e.Cell.Column.Key;
;
xxXamGrid.Rows[0].Cells[unboundColumn].Refresh();
}
That code looks fine, I don't understand what the problem is.
Attached is a sample
Edit the inttValue cell, tab / click off the cell being editted to end edit mode, and the unbound column will update. You need to finalize the editing for the ExitEditMode to fire.
I tried the code
It partially works
It does not change the value when i edit cell but changes when i perform sort on any column
Any ideas why?
Hi,
I want to let you know we recently fix this issue and now is included in the latest service release available for download form your account here:https://es.infragistics.com/Membership/Default.aspx?panel=Downloads#Downloads
Please let me know if you have any further questions.
Sincerely,DimiDeveloper Support Engineer, MCPD Infragistics, Inc.www.infragistics.com/support
We have created a support case (CAS-62183-K2SLW2) on your behalf in order to notify you when this issue will be fixed and published in a service release. This issue will be included in the next services release that will be available soon. We don’t have official date for it yet, but you can monitor our website where we post this information to our customers:http://es.infragistics.com/DhtmlPanelFrame.aspx?id=12865#ServiceReleasesOnce the service release is ready to be downloaded I will update this thread.
Please let me know if you have any further questions meanwhile.
I am currently using this as a workaround as this seems to work
It'll be nice if there is a Service release that comes sooner
InvalidateData will cause all the cells to redrawn. So it's not optimal, if you have a high frequency refresh (which is probably not the case if you doing this in exit edit mode) then it would probably not be ideal, but you could probably use this here."
Can Grid InvalidateData be used? DOes it have pros and cons