Results 1 to 2 of 2

Thread: cellclick event for grouping grid panel

  1. #1
    Sencha User
    Join Date
    Aug 2012
    Location
    hyderabad
    Posts
    34

    Default cellclick event for grouping grid panel

    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.

    Capture.PNG


    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

    Code:
    cellclick: function (view, cell, cellIndex, record, row, rowIndex, e) {
    alert(record.data.name);
    }
    And the row index parameter returns -1

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

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    Sounds like it might be this issue:
    http://www.sencha.com/forum/showthread.php?264961

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •