View Full Version : cellclick event for grouping grid panel

10 Apr 2014, 7:03 AM
Hi all,

I have a grid panel with some groups of records.
When user click on the grid cell there is a function to be executed.
For this i use cellclick event of the grid panel.
When all the groups are expanded the event works fine.
But any of the group is collapsed the event returns wrong values.


In the above grid if i click on the cell for Consulting Outgoing - Jan-15 the cellclick event returns the record from the expenses group.

Here is the code the event

cellclick: function (view, cell, cellIndex, record, row, rowIndex, e) {

And the row index parameter returns -1

I'm using Ext version 4.0.1
Any idea to get the record which is clicked?

Gary Schlosberg
10 Apr 2014, 7:08 AM
Sounds like it might be this issue: