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
Multi grouping issue
10/01/2013
17:07
Avatar
swos
New Member
Members
Forum Posts: 1
Member Since:
13/07/2012
sp_UserOfflineSmall Offline

I've run into a bit of an odd case, and I wonder if someone might be able to help.

In the code I am working with, I have been using multiple level (2) grouping for several months now, and without any problems.  I recently had a request to add a third level of grouping, which caused the furling (+/- toggling) on that level to behave oddly.

The three levels, by groupField name are, respectively: part_description, locn_abbr, and corporation_abbr.  corporation_abbr is the recent third level addition.  Example output looks like this:

1.1 Part Description 1

1.2 Location 1

1.3 Customer 1

2.1 Part Description 2

2.2 Location 2

2.3 Customer 2

3.1 Part Description 3

3.2 Location 3

3.3 Customer 3

Clicking + next to Part Description or Location will, as expected, expand the data below Customer.  Clicking - next to either also works properly, with the data rolling back up to the appropriate level.

Clicking + next to Customer expands the data as expected.  Clicking - rolls up the current entry's customer data as well as the next entry's customer data, which also removes the next entry's Part Description and Location levels.  Using the above example, assuming I've clicked - next to the first entry's customer level, it would look like this:

1.1 Part Description 1

1.2 Location 1

1.3 Customer 1

1.3 Customer 2

3.1 Part Description 3

3.2 Location 3

3.3 Customer 3

Additionally, if I click + next to 1.3 Customer 2, that entire entry is redrawn as it was before, below entry 1.

A snippet of the grouping code is located at http://codetidy.com/4358/

I've googled this problem with every conceivable search term, but haven't found anything.  When that didn't work, I looked at the source, and messed around with groupingToggle a bit.  I didn't have any success with that, either.  Does anyone have any insight into this problem?  Is there something obvious I'm missing in the code snippet I provided?

Thanks in advance.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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