Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
Maintain tree state after a node is added
17/11/2009
17:54
Avatar
JQGRID_Fan
Guest
Guests

Hey Tony, I've seen this question else where but no answer:

"Is there way to maintain the Expand/Colapse state (previous Expanded/Colapse State) after relode the jqGrid."

Maybe I've done something wrong, but when a node is added, once the pop up dialog goes away (and the node is added on the server), the tree collapses and only shows the top level of the tree.  So a user has to click down to where the node was added.

Is there a way to maintain the tree state.  I tried setting reloadAfterSubmit to false, but the tree grid just crashed.

19/11/2009
05:47
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

Currently No. The problem will be solved when we have add additinal methods like addTreeNode and delTreeNode, which I consider to be added in the future.

Anothe possible solution is to reload the grid with all nodes expanded, but IMHO this is not good.

Best Regards

Tony

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

19/11/2009
17:11
Avatar
JQGRID_Fan
Guest
Guests

ok thanks Tony.

This would be a killer feature.  Any idea when the addTreeNode and deleteTreeNode methods might be included?

21/11/2009
06:12
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

These methods are not easy to be added

1. because we need to do them for the buth method nestted set and adjacency

2. we do not know actually if we do it at client side the sync with server is the same

Instead I will try to do these for 3.7 releases.

Best Regards

Tony

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
40 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

OlegK: 1255

markw65: 179

kobruleht: 144

phicarre: 132

YamilBracho: 124

Renso: 118

Member Stats:

Guest Posters: 447

Members: 11373

Moderators: 2

Admins: 1

Forum Stats:

Groups: 1

Forums: 8

Topics: 10592

Posts: 31289

Newest Members:

, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information