I need to exit a cell and fire some kind of event. From what I have tested and read the editCellEnding and editCellEnded only fires when the row editing has ended. This will not work because I need to populate other cells based on the value of a cell after exit.
Is this possible?
Hello Donnie,
I assume you're using editMode: 'row'. igGridUpdating uses igEditor instances when in edit mode to edit the grid cells. You can bind to igEditor events by using the editor options in the updating columnSettings like this:
{
name: "Updating",
editMode: "row",
columnSettings: [
columnKey: "Name",
editorOptions: {
blur: function (evt, ui) {
console.log("blur event fired");
}
]
The best way to edit other cell value is to use its editor. To get the other cell editor use the igGridUpdating.editorForKey API method. The Editing Combo Editor sample demonstrates this.
Note: This method is not applicable when the editMode: 'cell'. In this mode only one editor is shown at a time.
Hope this helps,Martin PavlovInfragistics, Inc.
This works great but I can't seem to get the values from the ui variable. It just give me an undefined. So like ui.value give me undefined.