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
Editing and adding to the tree data
29/07/2009
16:46
Avatar
Das123
Member
Members
Forum Posts: 4
Member Since:
29/07/2009
sp_UserOfflineSmall Offline

This is a great plug-in but I have a few questions.

I'm working on a site that uses many nested set trees that range from a handful of items through to trees with thousands of items. Currently I'm using treeView with jQuery but this gets incredibly slow as the number of items increases. Where it does work well is that I can add nodes, delete nodes, indent, outdent etc quite easily. I haven't come across any examples of treeGrid being able to add and edit like this. Is this something that I can easily implement?

Ideally I will be wanting a row of icons that perform these various adding and editing functions. The actual implementation of the code isn't an issue as far as affecting the tree data as I've made a php class to handle these functions.

In another implementation of jqGrid I cobbled together a similar grid with icons, but these were built in the php rather than in the grid script so I don't think it is a very graceful solution.

I am pretty much a jQuery novice so I appologise in advance if I need things to be spelt out. Embarassed

A second question, is there a simple way to affect the css of a row based on returned results? I have type_id field that returns an integer indicating three levels of status. I was hoping to use this to change the colour of the rows.

13/08/2009
01:23
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Currently you can edit and delete data in treeGrid using one of the editing modules. Adding data currently is not supported .

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.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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