Forum

May 22nd, 2014
A A A

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

    

Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Custom Sorttype & onSortCol
01/07/2010
17:46
moloen
New Member
Forum Posts: 1
Member Since:
01/07/2010
Offline

As I understand it right now, if I have a custom sorttype like sorttype:sortDate, the function sortDate will only be called when jqGrid is initialized and not the event onSortCol. Is the only way to make onSortcol call SortDate is by manually over riding onSortCol event and writing the tedious code that does this and updates the grid accordingly? Why doesn't defining the sorttype:sortDate just over ride onSortCol event automatically? I mean when the jqGrid gets initailized it sorts correctly, but when I call the event it must do some built in sort. Why I ask is because my sortDate function doesn't have any code that actually updates jqGrid. it just returns 1,-1, or 0. its used in something outside of jqGrid…

Forum Timezone: Europe/Sofia

Most Users Ever Online: 215

Currently Online:
102 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

OlegK: 1219

markw65: 179

kobruleht: 144

phicarre: 132

YamilBracho: 124

Renso: 118

Member Stats:

Guest Posters: 447

Members: 11241

Moderators: 2

Admins: 1

Forum Stats:

Groups: 1

Forums: 8

Topics: 10446

Posts: 30877

Newest Members: blgsyrmhnds, toadicusrex, re-gor, NoSalt, 80vele, George

Moderators: tony (7580), Rumen[Trirand] (81)

Administrators: admin (61)

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information