jqGrid 3.7
June 15th, 2010
Today we released 3.7 version of jqGrid.
Many thanks to all that helped us to improve this version and fix a lot of bugs.
The full list of changes is here
You can view all the new thing in action here
The documentation and the demo package will be updated after two days.
Again with this we have the updated our popular jqGrid for PHP commercial component.
Enjoy
jqGrid Team.
The new “data” property for loading an entire array at once is great!!!
But how can I set that after the grid has already been initialized??
Thanks a lot guys. I have been waiting for this ๐ will use it in few days and will post the feedback.
Where should I look for the new 3.7 documentation? (it is already 7 days:) Thank you.
I need help displaying seemingly simple JSON table. This displays grid and shows “Loading” but never shows data. i have looked all over for examples but am not able to get it work ๐
JSON Source: http://www.asgsoft.com/states.json
Code:
$(“#statesGrid”).jqGrid({
url:’states.json’,
datatype: “json”,
colNames:[“name”, “abbreviation”,”capital”,”most-populous-city”,”square-miles”,”time-zone-1″,”time-zone-2″,”dat”],
colModel:[
{name:’name’,index:’name’, width:75},
{name:’abbreviation’,index:’abbreviation’, width:90},
{name:’capital’,index:’capital’, width:100},
{name:’most popular city’,index:’most-populous-city’, width:80, align:”right”},
{name:’square miles’,index:’square-miles’, width:80, align:”right”},
{name:’time zone 1′,index:’time-zone-1′, width:80,align:”right”},
{name:’time zone 2′,index:’time-zone-2′, width:150, sortable:false},
{name:’dat’,index:’dat’,width:200}
],
rowNum:10,
rowList:[10,20,30],
pager: ‘#pager’,
sortname: ‘name’,
viewrecords: true,
sortorder: “desc”,
caption:”States”
});
@Nima,
See the demo page – New in 3.7
@Jan
The documentation is already up to date.
Look first here
http://www.trirand.com/jqgridwiki/doku.php?id=wiki:change#jqgrid_3.7_changes_and_fixes
– what is fixed and what is new and then search for these new things in grid options.
@Mike,
Your problem is that you should configurire the jsonReader for this purpose.
A quite full description of this can be found here:
http://www.trirand.com/jqgridwiki/doku.php?id=wiki:retrieving_data#json_data
Regards
Tony
i think this is bug:
grid.base.js line 56 :twrap += “” — twrap += “>”;
@Mike Erickson
You can set the data after initialized.
$(“#t1”).setGridParam({data:eventData});
$(“#t1”).trigger(“reloadGrid”);
There seems to be an error with regard to the reccount property. I’ve just upgraded from 3.5.3 to 3.7.1 RC1 and my references to this.reccount from within the gridComplete function are resolving to UNDEFINED regardless of the number of rows in the table.
I’ve created a quick fix by just counting the number of tr elements descending from the table that contains the rows, but reccount is so much more elegant. I can see that it is still defined in the jqgrid source, but haven’t been able to figure out why it’s gone missing in gridComplete.
Hi, everybody, I don’t know if this is the right place, but I have a question about the single search, when I used the option for search, my grid is unavaible, it’s show me the windows that serch but it’s not working. I follow the example in the documentation. Am I missing a parameter or someting like that?
@jimmy
I just be dense, but I just cant make this work! I have tried so many different settings. Any chance you can quickly review this and see what i am missing?
JSON Source: http://www.asgsoft.com/states.json
Tony, I have tried so many things… Just cant get it to work. Are there any live examples which show this any better?
I am really grasping at straws here, it seems my data is not the format that jsonReader is expecting (see my original message for link to data)
My last ditch effort
jsonReader: {
root: “states”,
repeatitems: false,
subgrid: {
root: “state”,
repeatitems: true,
subgrid: {
root: “@attributes”,
repeatitems: true
},
}
},
@Mike
you have the answer into the forum.
Tony
thnx. gr8 grid. ^^
A lot of usefull features, fast, easy to use, understand and customize.
Keep it up)
I was looking for 3.7 demo package, or demo files such those available on download page for 3.6 version. Tony, if you have them ready, please make them available. Thank you, J.
is it free or not? from where i can download jqgrid free version libraries
Thank you so much for sharing your work this is really a great job,
the fastest grid plugin i’ve tried and you API is the more complete i’ve seen.
JQGrid is awesome and will surely be the indispensable plugin for all my future projects.
Peace
Can jqGrid make the colNames and colModel dynamic,means I can define it not in the page but from the database, so that the data is not sure.
I didn’t find in the wiki.
@Mike Erickson
Facing same issue do you get any solution to it ?
Dear Tony, I use the free version of jqGrid (javascript only) , many thanks for your work!
I was interested in the commercial product jqGrid + PHP and have downloaded the trial version from http://www.trirand.net/download.aspx.
How I can remove it from my server? I still use free jqGrid, but now all fields in my tables are cut off on the end.