EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 14, 2024, 08:18:32 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
General Discussion
>
[SOLVED] Groupview - onExpandGroup
Pages: [
1
]
« previous
next »
Print
Author
Topic: [SOLVED] Groupview - onExpandGroup (Read 6056 times)
jega
Full Member
Posts: 190
[SOLVED] Groupview - onExpandGroup
«
on:
October 09, 2017, 02:31:11 AM »
Hi.
To expand a group is easy, $(this).datagrid('expandGroup',index).
But how do i get the index when a user expands a group. Need to store the index, for auto expand on next logon.
Jesper
«
Last Edit: October 11, 2017, 08:48:32 AM by jega
»
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: Groupview - onExpandGroup
«
Reply #1 on:
October 09, 2017, 08:18:19 PM »
Yes, you should store the group index and then call the 'expandGroup' method to expand it.
Logged
jega
Full Member
Posts: 190
Re: Groupview - onExpandGroup
«
Reply #2 on:
October 10, 2017, 04:55:07 AM »
But how to get the index when user expand a group. I see no onExpandGroup(index)
«
Last Edit: October 10, 2017, 06:15:56 AM by jega
»
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: Groupview - onExpandGroup
«
Reply #3 on:
October 11, 2017, 06:59:47 AM »
Please download the newest 'datagrid-groupview.js' file from
https://www.jeasyui.com/extension/datagridview.php
Logged
jega
Full Member
Posts: 190
[SOLVED]Re: Groupview - onExpandGroup
«
Reply #4 on:
October 11, 2017, 08:47:51 AM »
Perfect, thanks.
Jesper
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...