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
Multiple search doesn't work
13/09/2009
07:14
Avatar
ismomo
Member
Members
Forum Posts: 8
Member Since:
03/09/2009
sp_UserOfflineSmall Offline

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'>&nbsp;&nbsp;Add New</a>");
$("#t_table1").append("<a href='#' class='customize_icon_del'>&nbsp;&nbsp;Delete</a>");
});

Since I have enabled multipleSearch, but it still doesn't work for me. Anyone can point what I have done wrong.
13/09/2009
07:18
Avatar
ismomo
Member
Members
Forum Posts: 8
Member Since:
03/09/2009
sp_UserOfflineSmall Offline

It seems that I have placed the post in the wrong session. Please disregard,

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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