Identifying grid in doOnCellEdit

Hi



I have three separate grids and i need to perform validations on each cell in the 3 grids. I cant afford to use 3 different doOnCellEdit functions. I need t squeeze in all validations within a single function. So, is there any way i could identify from which grid the doOnCellEdit request is coming in???

Please Help!!! … we have a demo this evening :frowning: :frowning:



Thanks in advance

any way i could identify from which grid the doOnCellEdit request is coming in???
You can use β€œthis” as pointer to the grid in which event occurs

mygrid.attachEvent(β€œonSome”,function(){
// this == mygrid
this.clearSelection(); // or any other kind of call
})