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
Programatically sorting grid with frozen columns sets sort icons on all columns
16/12/2013
11:23
Avatar
bosko
Member
Members
Forum Posts: 6
Member Since:
06/12/2013
sp_UserOfflineSmall Offline

If grid has frozen columns and method 'sortGrid' is called on column that is not frozen, sort icons on all columns are set. It is easy to reproduce this. Go to http://www.trirand.com/blog/ph.....efault.php, open JS console and execute

jQuery("#grid").jqGrid("sortGrid", "OrderDate", true, "desc")

It looks like problem is in method sortGrid where sobj variable is set initially to false and correctly set only if sortGrid is called for frozen columns. Initial false value (for sort by any other column) is passed as last argument to sortData which causes wrong value for newSelectedTh to be used for showing sort icons.

Regards,

Bosko

17/12/2013
12:28
Avatar
admin
Admin
Members
Forum Posts: 66
Member Since:
05/05/2007
sp_UserOfflineSmall Offline

Hello,

Thanks. Fixed in GitHub

Regards

17/12/2013
12:42
Avatar
bosko
Member
Members
Forum Posts: 6
Member Since:
06/12/2013
sp_UserOfflineSmall Offline

This was fast Smile Thanks! One question. Is there any estimation when next version could be released? I'm asking this because I'm not sure how safe it is just to get latest version from master and include it in the project in order to have this fix.

Regards,

Bosko Ivanisevic

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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