I am looking at finding the current grid instance based on cell i am editing. I have Parent/Child grid. and my code looks something like this. on each edit i want to query some data and based on value i want to set cell color.
let Columns:any=this.currentChlidGrid.getColumns(false);
var colIndex = Columns.find(x => x.field==currentColumn).index;
if(bookedVal> 1.05 && bookedVal <= 1.09){
this.highlightcell(this.currentChlidGrid.element.id,rowIndex,colIndex,"yellow");
}else if(bookedVal>1.10){
this.highlightcell(this.currentChlidGrid.element.id,rowIndex,colIndex,"red");
}