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
jqGrid 3.7.2
12/07/2010
19:39
Avatar
admin
Admin
Members
Forum Posts: 66
Member Since:
05/05/2007
sp_UserOfflineSmall Offline

Today we released 3.7.2 version of jqGrid.
Mainly this is a bug fix release. All the changes in this version can be found here

The download is available here

Enjoy
TriRand Team

13/07/2010
02:03
Avatar
jorkua
Member
Members
Forum Posts: 3
Member Since:
24/06/2010
sp_UserOfflineSmall Offline

First of all .. thank's for share your work..!!


I have tested the new release and i noticed the multisearch does not work with 2 or more constraints in IE 7 in this version neither..!!

Is it a bug?? or I need to correct something..??


I've read that it can be caused because of the css but i can´t find the solution..!! Does anybody already find it??


Greetings from México..!!

13/07/2010
10:04
Avatar
vlad.gubarev
Russia
Member
Members
Forum Posts: 3
Member Since:
13/07/2010
sp_UserOfflineSmall Offline

Hello

I've just tested new version (3.7.2) of this plugin. Buttons such add, delete don't works in FireFox (ver. 3.6.6 on Ubuntu Linux 10.04), but it works in Chrome (ver. 5.0.375.99 beta). They are not appeared in bottom of table. The same code I used with previous version of plugin (3.6.5) - it works for both browsers.

My code:

var bar = $('#form_list_bar');

jQuery("#form_list_table").jqGrid({

...

}).jqGrid('navGrid', bar, {add:false,del:true,refresh:true,edit:true,search:false});

13/07/2010
10:43
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

bar should be a string and  not a jquery object.

It is recommended that the pager is passed as string in navGrid:

Try this:

var bar = '#form_list_bar';

jQuery("#form_list_table").jqGrid({

}).jqGrid('navGrid', bar, {add:false,del:true,refresh:true,edit:true,search:false});

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

16/07/2010
13:24
Avatar
vlad.gubarev
Russia
Member
Members
Forum Posts: 3
Member Since:
13/07/2010
sp_UserOfflineSmall Offline

Tony,

Thanks a lot! Your solution is works for me.

20/07/2010
14:03
Avatar
Abhijit Waghmode
India
New Member
Members
Forum Posts: 2
Member Since:
20/07/2010
sp_UserOfflineSmall Offline

Hello,

I have used the latest 3.7.2 version of jqGrid (all plugin options checked while downloading it) in my project. But I was facing problems with multiple search.

I get an error "t is undefined" on line 23 of jquery.jqGrid.min.js whenever I enter any search criteria & click on 'Find' in the search popup.

But I don't get this error with an earlier version 3.6 of jqgrid & the popup search works fine .

I want to use the 3.7.2 version for the client side paging & sorting functionality which actually works fine.

I am passing the data in an xml format to the grid.

Below is the code of jqgrid used in the jsp.

jQuery("#mytable").jqGrid({

    url: 'usersearch.action',

    datatype: 'xml',

    caption: 'User List', 

    colNames:['User', 'Status', 'First Name', 'Last Name'],

    colModel:[ {name:'username',index:'USERNAME', xmlmap:"UserName", searchoptions:{sopt:['eq']}},

                    {name:'status',index:'STATUS', xmlmap:"Status", stype:'select',                                               searchoptions:{value:":All;Active:Active;Inactive:Inactive"}}, 

                    {name:'firstname',index:'FIRST_NAME', xmlmap:"FirstName", searchoptions:{sopt:['eq']}},

                    {name:'lastname',index:'LAST_NAME', xmlmap:"LastName", searchoptions:{sopt:['eq']}}

                 ],

    pager : "#pager", 

    sortname: 'UserName', 

    mtype: 'GET',

    rowList:[5,10,20], 

    rowNum:10,

    rowTotal: 2000,

    loadonce:true,

    rownumbers: true,

    height: 260,

    scrollOffset:0,

    gridview: true,

    autowidth: true, 

    viewrecords: true,

    xmlReader : {

                           root: "Users",

                           row: "User",

                           repeatitems: false,

                           id: "ID",

                           page:"Users>currentpage",

                           total:"Users>totalpages",

                           records:"Users>totalrecords"

                       }

});

 jQuery("#mytable").jqGrid('navGrid','#pager',

{ edit:false,add:false,del:false,search:true,refresh:true

},

{}, // edit options

{}, // add options  

{}, //del options

{multipleSearch:true} // search options 

);

<table border="0" cellpadding="0" cellspacing="0" id="mytable"></table>

<div id="pager" class="scroll"></div>

Below is some sample xml data passed to the jqgrid

<?xml version="1.0" encoding="UTF-8"?>

<Users>

<currentpage>1</currentpage>

<totalpages>1</totalpages>

<totalrecords>2</totalrecords>

<User ID="gv"> <UserName>Operator</UserName> <Status>Disabled</Status> <LastName>V</LastName> <FirstName>Geetha</FirstName></User>

<User ID="nk"> <UserName>Administrator</UserName> <Status>Enabled</Status> <LastName>Kumar</LastName> <FirstName>Nitesh</FirstName></User>

</Users>

Can you please help me to resolve this error so that the search works properly?

Regards,

Abhijit

20/07/2010
18:20
Avatar
vandalo
Member
Members
Forum Posts: 4
Member Since:
20/07/2010
sp_UserOfflineSmall Offline

Hello,

I've used jqGrid for long time now, without any kind of problem.

Today I've tried to implement it in ASP.NET MVC 2 project and things didn't work as expected.
After a little struggle I've realized that now controllers do not accept GET calls when returning JSON data.

It is for security reasons.

If I force my controller to support GET - forcing the JSON response like this:

return(Json(value, JsonRequestBehavior.AllowGet))

... and specifying [AcceptVerbs( HttpVerbs.Get )] on the method everything works fine and my jqGrid shows the results.

I've tried to change the verb of the jqGrid myType: 'POST' but the grid stops working. 

I've done a little bit of debugging and tracing and it seems that jqGrid never POSTs the request.

My controller always receives a GET.

Is there anybody who can help me, please.

Thanks Alberto

21/07/2010
12:17
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello

@Abhijit

I see here a lot of potencial conflicts and some things that should be corrected in jqGrid.

1. If we do local store we store the data locally from the request using only the names from colModel.

2. The search filter from other side uses index from colModel to perform serach.

Currently in order to work this the names and indexes should have equal names.

If you do not need indexes you just can omit them and your serch will be ok.

I will see how to correct this when we are in serch mode and datatype is local

@Alberto

The option in grid is not myType, but mtype

See here

http://www.trirand.com/jqgridw.....ki:options

and serch for mtype

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.

21/07/2010
13:12
Avatar
vandalo
Member
Members
Forum Posts: 4
Member Since:
20/07/2010
sp_UserOfflineSmall Offline

Thanks Tony. 

It was a silly mistake.

You've saved my day Cool

Regards,

Alberto

23/07/2010
18:11
Avatar
Abhijit Waghmode
India
New Member
Members
Forum Posts: 2
Member Since:
20/07/2010
sp_UserOfflineSmall Offline

Thanks Tony for your prompt response.

I tried both the solutions suggested by you.

I removed the indexes & the search worked fine.

I also tried with names and indexes having equal names. This too worked perfect.

I appreciate your help to fix this issue. Keep the good work going Smile

Thanks & Regards,

Abhijit 

02/08/2010
21:13
Avatar
archan.bhatt
Member
Members
Forum Posts: 19
Member Since:
30/07/2010
sp_UserOfflineSmall Offline

While using loadonce: true, why my first column should say sorttype:'int' ? my datatype into database already is set to integer. I tried without writing sorttype: 'int' in colModel. For first time grid loads fine, but when I try to do paging, it gives me error on line 19 (jquery.jqgrid.min.js) "J.toUpperCase is not a function".

17/08/2010
22:54
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Thanks. This is fixed in 3.8

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.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
24 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