Forum



13:30

13/02/2012

i'm starter in jqgrid, i write this code for build jqgrid in asp.net
var grid = $('#list'); grid.jqGrid({ url: 'jQGridHandler.ashx', postData: { ActionPage: 'CostTypes', Action: 'Fill' }, ajaxGridOptions: { cache: false }, direction: "rtl", datatype: 'json', height: 490, colNames: ['CostId', 'CostNo', 'CostName', 'Remark '], colModel: [ { name: 'COST_ID', width: 100, sortable: true, search:true, editable: false, hidden: true, key: true, index: 'COST_ID' }, { name: 'COST_NO', width: 100, sortable: true, editable: true }, { name: 'COST_NAME', width: 350, sortable: true, editable: true }, { name: 'REMARK', width: 300, sortable: true, editable: true } ], gridview: true, rowNum: 30, rowList: [30, 60, 90], pager: '#pager', sortname: 'COST_ID', viewrecords: true, rownumbers: true }); grid.jqGrid('navGrid', '#pager', { add: false, edit: false, del: true, search: true }, {}, {}, { url: "JQGridHandler.ashx?ActionPage=CostTypes&Action=Delete", reloadAfterSubmit: false }, { multipleSearch: true});when click in search icon and show search box when enter text example
costNo=1jqGrid not filter i think this action no work, please help me for implimet search in jqgridEDIT 01: when i add
loadonce: truesearch work but when remove this option search don't work, please help me. thanks
18:54

Moderators
30/10/2007

Hello,
yYou will need to understand that the grid does not support a search at your end (server)
You will need to write your own code at server to perform the search.
We have a examples in PHP, but you can easy understand and translet it in ASP.
Also you may need to look at the demo files which can be downloaded from the Download section.
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.
Most Users Ever Online: 715
Currently Online:
58 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