Forum


09:34

Hey guys, I'm having this wierd problem with the multisearch. Once I perform the search with some filters and the grid is reloaded with the results, the popup is still showing disabling the whole grid.
I search the forums and found this thread http://www.trirand.com/blog/?p.....38;ret=all with the same problem I'm having now. I've checked and I have the the css for the SearchFilter set (i'v downloaded a new zip from the site with all the modules) and change my includes and links accordingly.
I don't know what else it could be.
Here's the grid initialization:
$(document).ready(function() {
var grid = $("#listCampaigns").jqGrid({
url: '/MSCBA/Campaign/GetAll/',
datatype: 'json',
mtype: 'GET',
colNames: ['Id', 'Title', 'Actions'],
colModel: [
{ name: 'Id', index: 'Id', width: 40, align: 'left', searchoptions: { sopt: ['eq', 'ne', 'lt', 'le', 'gt', 'ge']} },
{ name: 'Title', index: 'Name', width: 400, align: 'left', searchoptions: { sopt: ['bw', 'bn', 'ew', 'en', 'cn', 'nc']} },
{ name: 'Actions', index: 'Actions', width: 60, align: 'left', sortable: false, search: false}],
pager: '#pager',
rowNum: 10,
rowList: [5, 10, 20, 50],
sortname: 'Id',
sortorder: "asc",
viewrecords: true,
forceFit: true,
autowidth: true,
height: '100%',
caption: 'Campaigns'
}).navGrid('#pager',
{
edit: false, add: false, del: false, search: true, refresh: true
},
{}, // edit options
{}, // add options
{}, //del options
{multipleSearch: true} // search options
);
});
The version of jqGrid i'm using is 3.5.3
Where did i go wrong with this one? any help is appreciated.
Thanks in advance.
Ioni.-
09:39

Moderators
30/10/2007

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.
09:46

Hi tony, thanks for the replay.
I don't know if it's related, but i'm also getting this error:
Message: 'grid.cols[...].style' is null or not an object
Line: 10
Char: 51755
Code: 0
URI: http://localhost:5115/Scripts/jquery.jqGrid.min.js
09:48

tony said:
Hello,
Maybe you will need to look here:
http://www.trirand.com/jqgridw.....ng#options
Regards
Tony
OOOHHH Tony I love you! fixed. Thank you
Most Users Ever Online: 715
Currently Online:
63 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