Author Topic: Expand/Collapse Group On Double Click  (Read 2125 times)

EPM Solutions

  • Pro Ultimate
  • Full Member
  • *
  • Posts: 182
    • View Profile
Expand/Collapse Group On Double Click
« on: October 06, 2017, 03:38:41 pm »
Hello Team,

How can we expand/collapse on double click.

Please find attached image file for requirement reference.


Thanks

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Expand/Collapse Group On Double Click
« Reply #1 on: October 09, 2017, 11:13:48 am »
Please use cellDblCick event:

Code: [Select]
cellDblClick: function(evt, ui){
if(ui.$td.hasClass("pq-group-title-cell")){
ui.$td.find(".ui-icon").click();
}
},

EPM Solutions

  • Pro Ultimate
  • Full Member
  • *
  • Posts: 182
    • View Profile
Re: Expand/Collapse Group On Double Click
« Reply #2 on: October 09, 2017, 11:43:59 am »
Thanks team,

Now it is working fine... :)