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
reloadGrid problem
09/06/2009
04:10
Avatar
blake
blake
New Member
Members
Forum Posts: 2
Member Since:
22/09/2008
sp_UserOfflineSmall Offline

Hello,

I'm using TreeGrid 3.4.4, adjacency model, json datatype.

In some cases I have my records doubled after reloadGrid fired. When I look in FireBug - all seems good, it seems that it happens on client side.

I'll try to explain: for exampe, I have only 1 node record in my database. When I just create grid - all looks good, one record appears. Then I click on this record, icon changed to "expanded" and then I do reloadGrid (using pager button or my own button - no matter). After reloadGrid fires - I have already 2 record (1 real and 1 fake). If I do reloadGrid second time - after reloading I have only one record, as needed. But if I click on records (expand or expand and collapse)  and then do reloadGrid again - I will have already 3 records (1 real and 2 fakes)!

In FireBug a see only one records receiving from server. Last 4 fields of this record are  0,"NULL","false","false".

To bypass this situation I tried to do clearGridData() before reloadGrid but got  javascript error "this.parentNode is null".

What am I doing wrong? Any ideas?

Thanks.

10/09/2009
23:00
Avatar
klabar
New Member
Members
Forum Posts: 1
Member Since:
11/09/2009
sp_UserOfflineSmall Offline

I saw this behavior while learning to use treeGrid (3 days ago). It was before I flushed out the server side code. Now that the server side query is set to only return children of the selected node, all is working like normal.

Would you mind sharing the server side query when searching for children?

-Ken

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