Forum
November 2nd, 2014
A
A
A
Topic RSS
Offline
The forums are currently locked and only available for read only access


Multiple search doesn't work
13/09/2009
07:14
07:14

ismomo
Member
Members
Forum Posts: 8
Member Since:
03/09/2009
03/09/2009

Below is my code to enable multiple search:
$(document).ready(function() {
jQuery("#table1").jqGrid({
url:'server.htm?ACTION2=JSON_LISTING&TABLENAME=testing',
datatype: "json",
colNames:['testTxt','update date','Login','number_dba','boolean1','Last Updated On','Created By'],
colModel:[
{name:'testTxt',index:'testTxt',searchoptions:{sopt:['eq','ne','lt','le','gt','ge']}},
{name:'update_date',index:'update_date',searchoptions:{sopt:['eq','ne','lt','le','gt','ge']}},
{name:'Login',index:'Login',searchoptions:{sopt:['eq','ne','lt','le','gt','ge']}},
{name:'Number',index:'Number',searchoptions:{sopt:['eq','ne','lt','le','gt','ge']}},
{name:'boolean1',index:'boolean1',searchoptions:{sopt:['eq','ne','lt','le','gt','ge']}},
{name:'MOD_DATE',index:'MOD_DATE',searchoptions:{sopt:['eq','ne','lt','le','gt','ge']}},
{name:'ADD_BY',index:'ADD_BY',searchoptions:{sopt:['eq','ne','lt','le','gt','ge']}} ],
rowNum:10,
mtype:'POST',
multiselect: true,
rowList:[10,20,30],
pager: '#pager1',
loadComplete: doWhenGridFullyLoaded,
gridview: true,
autowidth: true,
toolbar:[true,"top"]
}).navGrid('#pager1',
{
edit:false,add:false,del:false,search:true,refresh:false
},
{multipleSearch:true}
);
$("#t_table1").append("<a href='#' class='customize_icon ui'> Add New</a>");
$("#t_table1").append("<a href='#' class='customize_icon_del'> Delete</a>");
});
Since I have enabled multipleSearch, but it still doesn't work for me. Anyone can point what I have done wrong.
Forum Timezone: Europe/Sofia
Most Users Ever Online: 715
Currently Online:
82 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.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66