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
search box UI
24/11/2009
11:42
Avatar
corb
Member
Members
Forum Posts: 5
Member Since:
18/11/2009
sp_UserOfflineSmall Offline

Is there a way to set the button in the search UI to a custom css class? I've seen the buttonclass property, but I don't think that applies to the basic search ui. I have other buttons on my page and would like for them to match what's in my grid and viceversa. Is there a way to do this? What I have doesn't seem to do the job.

$("#tblFiles").jqGrid({
            url:'/processors/?fx=gt',
            datatype: "json",
            colNames:['Name', 'Type', 'Expires','Notes'],
            colModel:[ {name:'Name',index:'Name', width:125, sortable:true, searchoptions: {buttonclass:'button small', sopt:["eq", "bw", "cn", "ew"]}},
                       {name:'Type',index:'Type', width:30, align:"center", sortable:false, formatter:typeFormatter, search: false},
                       {name:'ExpDate',index:'ExpDate', width:40, align:"center", sortable:true, search: false},
                       {name:'Notes',index:'Notes', width:200, sortable:true, search: false}],
            rowNum:10,
            scrollOffset: 0,
            multiselect: true,
            hidegrid: false,
            altRows: false,
            autowidth: true,
            pager: $('#filePager'),
            sortname: 'ExpDate',
            viewrecords: true,
            emptyrecord: "You have no files available.",
            sortorder: "asc",
            caption:"My Files",
            height: gridHeight,
            pginput: true
      });
      $('#tblFiles').jqGrid('navGrid','#filePager',{edit:false,add:false,del:false,search:true});

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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