Categories | Question details Back To List | ||
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 :( :( Thanks in advance Answer posted on Nov 24, 2008 01:36 >>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 }) |