Results 1 to 2 of 2

Thread: Expand/Collapse Grouped grid rows on double-click

  1. #1
    Sencha Premium Member
    Join Date
    Apr 2013
    Location
    NYC
    Posts
    47
    Answers
    2
    Vote Rating
    6
      0  

    Default Expand/Collapse Grouped grid rows on double-click

    I'm sure I saw this somewhere - but now I can't find it

    I want to configure the grouping feature on a grid to expand or collapse the grid on a double click instead of a single.

    Any tips?

  2. #2
    Sencha User slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,165
    Answers
    505
    Vote Rating
    255
      0  

    Default

    There's not a public option to choose to toggle collapse/expand on doubleclick instead of click.
    You'd need to override the grouping feature's private method: afterViewRender.

    In that method the listeners is added to toggle the collapse/expand on the grouping header's groupclick event (you could set that to groupdblclick).

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
  •