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
jqGrid column chooser sort available columns
25/09/2013
15:57
Avatar
praveen
New Member
Members
Forum Posts: 1
Member Since:
04/06/2012
sp_UserOfflineSmall Offline

I need the "available" columns (right panel) in a jqGrid column chooser dialog to be sorted alphabetically whenever I remove a column from the left panel (selected columns).

This does not seem to work correctly. For some columns, they get inserted into the correct position on the right-side list. But in some cases it fails.

For e.g. if my left-panel list contains column names - "Name", "Error", "Activity" and if I remove the columns in that order, then they must be displayed as "Activity", "Error", "Name". But they end up getting displayed randomly. In some cases, the column removed gets appended to the end of the list and in other cases, it gets inserted at the correct position.

I looked at ui.multiselect.js - _setSelected method where the logic of sorting the list is present but it does seem to have some flaws.

Can someone throw some light on this feature and let me know if there is anything else that needs to be done in getting this to work.

Our jqGrid consists of more than 30 columns. It would be nice to have the list sorted.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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