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_Related Related Topics sp_TopicIcon
Using TreeGrid as Menu
24/09/2010
17:13
Avatar
Reg
Calgary, Canada
Member
Members
Forum Posts: 92
Member Since:
06/06/2008
sp_UserOfflineSmall Offline

I am currently using WebFX's XTree as the vertical menu for my accounting system: lots of different pages to go to, organized by functional area, with some submenus in most areas. This menu expands and contracts and, most importantly, stays open so I can see all items if choose to (helpful for comparing similarly-named items and figuring out which to click on).

What it does not do is anything other than navigate to a new page on click so that you have to reload the entire page, headings, decoration, menu tree and all. I want to, instead, be able to make an ajax call that refreshes just the working div on the page.

Accordion UI, I think, will support this but it always closes the areas you are not looking at and I would prefer not to do that. I am also not sure how easy it is to cope with nested accordions.

So I am now thinking that TreeGrid might be able to handle it: create a single column table, and give every entry an Onclick function to make the appropriate ajax call (or to run a function on the page to do so). I can expand a node and it will stay open when I expand other nodes. I might even be able to disable the grid (or cover it with a greyed-out panel) when I have an editing form displaying in the working area.

Has anyone tried this? Anyone know of any reason why it wouldn't work?

Thanks,

Reg

26/09/2010
19:08
Avatar
Reg
Calgary, Canada
Member
Members
Forum Posts: 92
Member Since:
06/06/2008
sp_UserOfflineSmall Offline

OK, bad idea.

I have found jsTree which does what I want, and without the hassle of trying to make something do what it wasn't designed to do. Forget I asked anything.

Reg

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