Forum
01:37
06/02/2010
Hi,
I am using auto loading in treeGrid. How do I pass additional info to server beside
nodeid:rc.id,
n_left:rc.lft,
n_right:rc.rgt,
n_level:rc.level,
when a node is clicked by operators?
This links (http://www.trirand.com/jqgridwiki/doku.php?id=wiki:treegrid#cautions_and_limitations)
also mentions that additional info is needed but does not show me how. Look under "Cautions and Limitations" section.
Correct me if I am wrong but postData does not work either because you have to wait for the row to be clicked before you can
fish out the additional data to be sent to server. Otherwise, you don't have the rowid to begin with.
Thanks.
10:23
Moderators
30/10/2007
Hello,
Thanks. Will see how to fix this.
Also just for the record, what kind of additional information do you want to add to the postData?
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:31
06/02/2010
Hi Tony,
Thanks Tony. I need to send back to the server the primary key of the record being searched so that I can query the path leading to the record being searched like this:
SELECT parent.name
FROM nested_category AS node,
nested_category AS parent
WHERE node.lft BETWEEN parent.lft AND parent.rgt
AND node.name = 'FLASH'
ORDER BY parent.lft;
Most Users Ever Online: 715
Currently Online:
38 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.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66