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
How to implement search
20/05/2014
17:43
Avatar
tifischer
Member
Members
Forum Posts: 21
Member Since:
16/05/2014
sp_UserOfflineSmall Offline

Can I move the search icon?  I recently made an update and the search box that allowed me to search by name, date, etc…  has changed a lot.  I was able to type in a date greater than and a date less than or search by first name and last name containing … how can I do that?

 

I see the complex search and implemented it but it looks the same.  I am looking for just the two search areas with drop down selector for the columns, selector for oporation, and input field to search by.

How do I search the date such that people can search using the traditional English date format mm/dd/yyyy instead of the ISO 8601 date format?

Can the date be formatted in the English format in the older version of jqgrid (3.5.3)?

Blessings,

Tiffany

22/05/2014
14:25
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

I'm not sure that I understand the problem.

Regards

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

26/05/2014
18:01
Avatar
tifischer
Member
Members
Forum Posts: 21
Member Since:
16/05/2014
sp_UserOfflineSmall Offline

How do I get the multipleSearch and the search operations to show?

I see the multi search but there are no qualifiers to search by like "contains" or "equals".

In the demos I really like the Live Data Manipulation with the "Searching Data" section but I need to have mutiple selectors listed.  How do I add the mutiplesearch functionality to this demo?

The reason that I am need this functionality is to allow users to perform a date range search.

 

Blessings,

Tiffany

26/05/2014
18:15
Avatar
tifischer
Member
Members
Forum Posts: 21
Member Since:
16/05/2014
sp_UserOfflineSmall Offline

Also, when I implement the Live Data Manipulation Searching Data demo on my site I do not see the search operators in the drop down ('equals', 'contains', 'not equals'...) .  Please advise as to how to get the searchable operators to display.

 

jQuery(document).ready(function(){

jQuery("#person_list").jqGrid({
url:'server-update.php?q=1',
datatype: "json",
colNames:['ID','Type','Last','First','Email','Phone','Address','Custom','Registrations','Balance'],
colModel:[
//{name:'', sortable:true, index:'a.personType', width:25, hidden:false,search:false,hidedlg:true},
//search ID on
//{name:'', index:'a.personID', width:20, hidden:false,searchoptions:{sopt:['bw','cn','eq','ne','lt','gt','ew']}},
//search ID off
{name:'ID',key : true, index:'a.personID', width:20},
{name:'Type', index:'isStudent', sortable:true, width:25},
{name:'Last', index:'a.lastName', width:40},
{name:'First', index:'a.firstName', width:30},
{name:'Email', sortable:true, index:'a.emailAddress', width:60},
{name:'Phone', sortable:false,index:'phone', width:35},
{name:'Address', sortable:false,index:'address', width:100},
{name:'Custom', sortable:false,search:false, hidden:false, index:'custom', width:30},
{name:'Registrations', sortable:false,search:false, hidden:false, index:'programCode', width:100},
{name:'Balance', sortable:false,search:false, hidden:false, index:'balance', width:40} //CN change 30 to 40
],
rowNum:7,
autowidth: true,
pager: '#pagerb',
sortname: 'lastName',
rowList:[10,20,50,100],
viewrecords: true,
sortorder: "asc",
caption: "",

});

$("#bsdata").click(function(){
// jQuery("#person_list").jqGrid('navGrid','#pagerb',{edit:false,add:false,del:false},
//{},{},{},
//{multipleSearch:true, multipleGroup:true});
jQuery("#person_list").jqGrid('searchGrid', {sopt:['cn','bw','eq','ne','lt','gt','ew']} );});

});

26/05/2014
18:40
Avatar
tifischer
Member
Members
Forum Posts: 21
Member Since:
16/05/2014
sp_UserOfflineSmall Offline

I also implemented the demo Search Templates and again the search operators do not display.  The template shows up and the data value shows up but no search operator. Please let me know what I am doing wrong.

 

Blessings,

Tiffany

30/05/2014
14:01
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

multipleSearch and multipleGroup parameters should be set to true when you call searchGrid

Regards
Tony

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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