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
ignoreCase BUG
18/10/2010
14:16
Avatar
prorider1
New Member
Members
Forum Posts: 1
Member Since:
18/10/2010
sp_UserOfflineSmall Offline

When the ignoreCase option in the grid is set to true sorting with sorttype: 'date' and 'int' in colModel does not work.

For example:

jQuery('#jqGridTable').jqGrid({
            datatype: 'json',
            url: 'get-data',
            mtype: 'GET',
            width: 850,
            height: "100%",
            colNames:['id','name', 'price'],
            colModel:[  {name:'id',index:'id', width:15, sorttype='int'},
                        {name:'name',index:'name', width:150},
                        {name:'price',index:'price', width:30}],
            caption: "Subskrypcje",
            sortname: 'id',
            sortorder: 'asc',
            rowNum:20,
            rowList:[20,50,100],
            loadonce: true,
            ignoreCase: true,
            pager: '#ptoolbar'});

And when i try to sort or filter the content the following error accurs:

n.toLowerCase is not a function

20/10/2010
18:20
Avatar
A415Hz
Member
Members
Forum Posts: 12
Member Since:
20/10/2010
sp_UserOfflineSmall Offline

Same here, when I try to sort the column with IgnoreCase: true and the column's sorttype is set to 'int', jqgrid hangs on "loading...", but there is javascript error, as I think it's trying to call toLowerCase function on integers, while it's expected to have strings.

21/10/2010
16:03
Avatar
OlegK
Germany
Member
Members
Forum Posts: 1255
Member Since:
10/08/2009
sp_UserOfflineSmall Offline

Hello!

About one month ago I wrote about the bug with the sorting of interegr (see /blog/?page_id=393/bugs/bug-in-sorting-of-local-int-data/). The bug is already fixed of the github. So If you download from github and use the developer version of jqGrid you should not have the error. I hope that jqGrid 3.8.1 will be also soon published but it's depend not from my.

Best regards
Oleg 

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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