jQuery UI Widgets › Forums › Grid › expand group by clicking on the group header text
This topic contains 7 replies, has 2 voices, and was last updated by ivailo 7 years, 11 months ago.
is there a possibility to get a group expanded by clicking on the group header title. By default it’s only expanding/collapsing when click on the arrow on the left side.
You can use collapsegroup and expandgroup in your custom functions to create this behavior.
I tried this but to use this functions I need to pass the number (index?) of group.
But when I listen to the cellclick or rowclick event there is no variable passed that i can use. args.selectedindex and args.visibleindex is undefined.
can you give me a hint how to implement this?
You can try some similar approach like this.
thanks, but it’s not working when you have a scrolling grid. Any idea how to handle this?
Unfortunately we cannot offer you another workaround.
maybe its somehow possible to simulate the click in the arrow div? which event is used here? it’s not working when I trigger the click, select or mousedown event
Unfortunately we cannot offer you that type of solution.
You must be logged in to reply to this topic.