Posted 5 November 2025, 5:18 am EST
As described the cellEditEnded event in FlexGrid is triggered after a cell’s edit operation has been completed, either by committing the change or canceling it.
I noticed that since version 5.20251.34, the cellEditEnded event stopped working correctly. I need to get the model after editing a field on the grid. I have a simple code
<FlexGrid ref={refFlex}className="wj-flexgrid-list" alternatingRowStep={1} showMarquee={true} allowSorting={false} headersVisibility="Column" allowResizing="ColumnsAllCells" selectionMode="Cell" autoGenerateColumns={false} isReadOnly={disableAll} cellEditEnded={cellEditEnded} itemValidator={itemValidator} validateEdits={false} > <ImmutabilityProvider itemsSource={ items } /> </FlexGrid>
Where items is declared as: items?: ItemDto ;
Function attached to an event cellEditEnded:
function cellEditEnded(s: wjGrid.FlexGrid, e: wjGrid.CellRangeEventArgs) {
let item = s.selectedItems[0] as ItemDto;
…………………
Until version 5.20242.30, after editing a record field in FlexGrid, I received an updated model in the item. In later versions, this stopped working. The item doesn’t contain the record after editing, as if the event was triggered at the wrong time before the model was updated.
How can I get the updated model after each field edit in newer versions of Wijmo, as my attempts have failed? Or is this a bug in Wijmo and should continue to work as it did before version 5.20251.34 , e.g., in version 5.20242.30?
