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
TreeGrid not loading properly on IE7
21/01/2011
18:23
Avatar
pioto
New Member
Members
Forum Posts: 2
Member Since:
21/01/2011
sp_UserOfflineSmall Offline

Hi,

I'm using jqgrid 3.8.2, and it seems that the treegrid plugin isn't loading properly on IE7 (and presumably not IE6, but I haven't tested it there yet). The top-level grid loads, but the div.treeclick elements never get added to the DOM, it seems. Any suggestions for narrowing down the possible cause of this?

I am using JSON for my data source, but it doesn't seem like I have trailing commas, so I don't think I'm having the issue in /blog/?page_id=393/treegrid/treegrid-not-working-on-ie-6-and-7/ does work.

I'm setting up my grid like this:

    $('#...').jqGrid({
     url: "...",
     postData: {...},
     treeGrid: true,
     rowNum: -1,
     treeGridModel: 'adjacency',
     ExpandColumn: '...',
     datatype: 'json',
     treedatatype: 'json',
     height: 'auto',
     colNames: [...],
     colModel: [
      ...
     ],
     sortname: '...',
     treeIcons: {leaf: 'ui-icon-none'},
     ajaxGridOptions: {error: ajaxError},
     'gridComplete': gridComplete
    });
27/01/2011
14:54
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Please check again the data provided to the grid.

This is the most important part to the tree grid.

Also there is a quite good examples here:

http://www.trirand.com/jqgridw....._set_model

and here

http://www.trirand.com/jqgridw.....ency_model

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.

27/01/2011
16:07
Avatar
pioto
New Member
Members
Forum Posts: 2
Member Since:
21/01/2011
sp_UserOfflineSmall Offline

What should I be checking it for? I can say for sure that the data isn't totally invalid, as it works fine on IE8, IE9, Firefox, Chrome, ... Just not IE 7. And, when I looked at the data, I saw no stray commas.

Forum Timezone: Europe/Sofia

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.com

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

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information