cellAt( c, r) gives me a cell TD element, I need the cell object like activeCell gives me, how can I get this?
Hi Seang,
The cellAt method is designed to return a DOM element. If you want an object you can wrap the result in a jQuery object like this: $($('#grid').igGrid('cellAt', 1,1)).
I hope this helps!
Kind regards, Petko Zhekov Software Engineer
sounds like what I need but didnt work.
If I'm on cell 1,1 and do this
cell = this.gridIDMap.activeCell();alert(cell.rowIndex )
it alerts 1
If want to get that cel via cellAt I do this
cell = this.gridIDMap.cellAt( 1,1 )cell = $( cell )//wrap it in jQuery alert( cell.rowIndex )
it alerts undefined