Forum


10:32

29/09/2009

var gridimgpath = 'application/assets/css/flick/images';
jQuery(document).ready(function(){
jQuery("#s4list").jqGrid({
url:'http://localhost/coastal/ink_o.....a',
datatype: "xml",
width: 785,
height: 320,
colNames:['ID #','First Name', 'Last Name','e-Mail Address',''],
colModel :[
{name:'customer_id', index:'customer_id', width:10, align:'center'},
{name:'firstname', index:'firstname', width:20, align:'left'},
{name:'lastname', index:'lastname', width:20, align:'left'},
{name:'email', index:'email', width:30, align:'left'},
{name:'edit', index:'edit', width:20, sortable:false, align:'center'} ],
scrollOffset:0,
rowNum:15,
mtype: "POST",
rowList:[1,5,10,15],
imgpath: gridimgpath,
pager: '#s4pager',
sortname: 'customer_id',
sortorder: 'asc',
viewrecords: true,
rownumbers: true,
gridview : true,
}).navGrid('#s4pager',
{
edit:false,add:false,del:false,search:true,refresh:true
},
{}, // edit options
{}, // add options
{}, //del options
{multipleSearch:true} // search options
);
});
</script>
Trying to add in something to change captions, wording, search options. Kinda like this but
can not seem to place it in the right spot to see it taking:
caption: "Search...",
Find: "Find",
Reset: "Reset",
odata : ['equal', 'not equal', 'less', 'less or equal','greater','greater or equal', 'begins with','does not begin with','is in','is not in','ends with','does not end with','contains','does not contain'],
groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ],
matchText: " match",
rulesText: " rules"
},
Most Users Ever Online: 715
Currently Online:
64 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