Forum



16:36

27/02/2012

Hello
I have a problem with jqgrid and filterToolbar… is not working for parameter loadonce:true… Without loadonce everything is ok.
I have tried a lot of different code conbinations, different solutions, different jqgrid versions, but none is working, even id I know it is suppose to work.. I only get that middle window "Loading..." and that's it.
Any help would be appreciated. Thank you.
Here is my code:
$("#scroll37″).jqGrid({
url:'index.php?spre=retAjax2&what=dbTestJQgrid',
datatype: "json",
height: 255,
width: $(document).width() -(6*4),
colNames:['Inv No', 'Date', 'Client', 'Amount', 'Tax', 'Total', 'Notes'],
colModel:[
{name:'invoice_no',index:'invoice_no', width:60, search:true},
{name:'date',index:'date', width:90, search:true},
{name:'ida',index:'ida', width:100, search:true},
{name:'converted_value',index:'converted_value', width:80, align:"right", search:true},
{name:'vat',index:'vat', width:80, align:"right", search:true},
{name:'total',index:'total', width:80,align:"right", search:true},
{name:'sent_on',index:'sent_on', width:150, search:false}
],
rowNum:100,
rowList : [100, 1000,2000,5000],
rowTotal: 20000,
gridview: true,
autowidth: true,
pager: '#pscroll37',
rownumbers: true,
viewrecords: true,
loadonce: true,
ignoreCase: true,
multiselect: false,
pagination: true
});
$("#scroll37″).jqGrid('filterToolbar',{stringResult: true, searchOnEnter : false});
Most Users Ever Online: 715
Currently Online:
56 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