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_Related Related Topics sp_TopicIcon
Treegrid autoloading problem
05/08/2010
15:05
Avatar
tomn82
New Member
Members
Forum Posts: 2
Member Since:
05/08/2010
sp_UserOfflineSmall Offline

Hi,

Im trying to use a treegrid (type nested) with autoloading. but I encouter some problems. 

At first i tried to resolve only the child elements of a selected node. But when i do this Only these elements are shown in the grid. So when i do this i cannot go back up the tree because the parent nodes are gone.

So i created a query witch returns the selected node and all the parents (and their neighbours (nodes with the same level) ) this almost works correct but because of the property isNodeLoaded i cannot re-open an node after opening another.

A fix could be to send all of the opend nodes to my php page and resolve all the data but i dont think this is the best way because the autoloading feature is to be able to load large lists and with this way the treedata keeps growing until its too big and the browser crashes.

What i prefer is my first method because this only fetched the nodes that i need so it should be appended to the grid instead of replaced.

is there someone who knows how to fix this?

Thanx in advanced

Tom

23/08/2010
14:53
Avatar
tomn82
New Member
Members
Forum Posts: 2
Member Since:
05/08/2010
sp_UserOfflineSmall Offline

I found the solution,

I used also scroll : 1 in the declaration of the Grid. When this is true the autoloading goes wrong.

This in combination with my first option only resolve the child elements of the opened treelevel

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
39 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