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
Multisearch doesn't close after grid reloaded
06/11/2009
09:34
Avatar
Ioni
Guest
Guests

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.-

06/11/2009
09:39
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

Maybe you will need to look here:

http://www.trirand.com/jqgridw.....ng#options

Regards

Tony

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.

06/11/2009
09:46
Avatar
Ioni
Guest
Guests

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

06/11/2009
09:48
Avatar
Ioni
Guest
Guests

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

Forum Timezone: Europe/Sofia

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.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information