Results 1 to 4 of 4

Thread: Nested grid with rowExpander Problem

  1. #1
    Sencha Premium Member
    Join Date
    Oct 2010
    Location
    Bangalore
    Posts
    29

    Default Nested grid with rowExpander Problem

    Hello I am using nested grid with rowExpander.

    In my case everything working fine..
    but whenever i click on nth row in child grid the parent grid's nth row is also getting selected.
    Even this is happening for header click.
    i have not written any header click event for child grid,
    but when we click on child grid's header it is firing the header click event of parent.
    I have given separate id for child column's & grid too.

    As rowIndex are same in both grid this problem is occuring., but how to set the row index of child grid as it shouldn't conflict with parent ?
    i grefered the example in code : http://mikhailstadnik.com/ext/examples/nested-grid.htm

    Thanks in advance.doubleGrid.jpg

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,379

    Default

    You have to listen for the rowclick event on the nested grid and stop the event on the 3rd argument which is the EventObject.
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

  3. #3
    Sencha Premium Member
    Join Date
    Jan 2014
    Posts
    78

    Default

    I am also facing same problem.
    I am having CheckboxModel for both inner grid and outer grid (2 level grid).
    If I check 1st row in inner grid, 1st row in outer grid also gets selected.
    Will you please elaborate above solution?

    Thanks..

  4. #4

    Default

    Having this problem on ExtJS 4, anyone find a solution?

Tags for this Thread

Posting Permissions

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