Forum
17:53
15/04/2011
First, I'd like to thanks for a wonderful plugin. I'm using it since 3.8.2 so not for a long time. I have noticed following bug in that version but after the upgrade it remains so I decided to register and report it.
I have noticed that when I call any (almost any?, I haven't tried all of them) getNodeXXX method for row in edit mode I have empty array in return.
Check following code:
// rowid is a row in edit mode and for sure has 2 ancestors
// as when not in edit mode the same code returns two objects in array
var record = jQuery(”#grid_id”).getRowData(rowid);
var arr = jQuery(”#grid_id”).getNodeAncestors(record);
// arr is empty
It is because getRowData for row in edit mode returns whole input tags instead it's title tags or input values (whichever is best).
Some additional info:
- I'm working with TreeGrid plugin of course
- I have noticed that getNodeChildren does not work at all (for rows in edit mode or not – does not matter)
- treeGridModel is set to 'adjacency',
Andrzej J. Debicki
Most Users Ever Online: 715
Currently Online:
49 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