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
filterToolbar doesn't work...
12/10/2010
04:19
Avatar
pacoespinoza
New Member
Members
Forum Posts: 1
Member Since:
12/10/2010
sp_UserOfflineSmall Offline

Hi, I have a problem with the filterToolbar plugin. I have the jqGrid 3.8 and jquery 1.4.1

    $("#list").jqGrid('filterToolbar', { stringResult: true, searchOnEnter: false, defaultSearch: "cn" });

Simply doesn't filter anything...

Can somebody help me with this?...

Thanks in advance...

12/10/2010
14:00
Avatar
OlegK
Germany
Member
Members
Forum Posts: 1255
Member Since:
10/08/2009
sp_UserOfflineSmall Offline

Hi!

In general the filtering of data work with jqGrid and jQuery 1.4.1. See this example. So if you have a problem you should post the full code which can be used to reproduce the problem.

Best regards
Oleg 

10/11/2010
13:47
Avatar
cfnievaKarira
Spain
Member
Members
Forum Posts: 4
Member Since:
10/11/2010
sp_UserOfflineSmall Offline

Hi, I have a similar problem with the 'filterToolbar'. In my case, the code is as follows:

------------------------------------

var TRepairsData.repairGrid = jQuery("#RepairList");

TRepairsData.repairGrid.jqGrid({

url:'/Dedalo.API/Repairs/GetPaginatedRepairsList/' + SelectedOffice + '/',

datatype: "json",

autowidth: true,             

jsonReader : {

repeatitems: false,

},

colNames: ['Priority'],

colModel: [{ name: 'Priority', index: 'priority', width: 45, align: "center",

searchoptions: { defaultValue: '0' }

}

],

rowNum:100,

rowList:[100, 150, 200],

mtype: "GET",

multiselect: true,

caption: false,

pager: '#navRepair',

viewrecords: true, 

sortname: 'incdate', 

sortorder: 'desc',

gridComplete: function(){ ...}

});

TRepairsData.repairGrid.jqGrid('filterToolbar', { defaultSearch: "cn" });

----------------------------

I need to load the page, my grid is filtered with the default priority. Priority to changing the filter housing makes me a call to the server by passing the url indicated and the priority value you have written, that it is functioning properly, but I need to filter me from the start with the default, This may be the problem?

Sorry for my English

Thanks!

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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