How do you pull from the jqgrid36 branch of at Github? Since the download is a little old, I'd like to just pull and merge everything from Github. However, I don't know git commands. It looks like "clone" is pulling from Master which I think is the 3.5 version. I'd like to get the 3.6 "latest" .
Any pointers on using git? I have searched the web for hours but the git commands suggested don't seem to work. This should be simple but I can't seem to get the latest 3.6 version to pull. What command should I use?
Post edited 19:26 – 23/10/2009 by fuhrysteve Post edited 19:29 – 23/10/2009 by fuhrysteve
This may or may not affect other stuff (looks like it's a temp variable, so maybe not it's all inside a function so it shouldn't matter), but I've been playing around the source and found a potential semantic error something that may cause problems in the future:
When I take a look at grid.base.js I still see the 3.5.3 version marker and just about everything else looks the same. Is there any way I can tell I have the complete and correct release? I just hate to go through all the hassle and update and find out I have the same stuff.
The key was changing to the jqgrid folder after the clone but before running your two commands. Once I did that it seemed to work. I see the 3.6 versioning in grid.base.js now.
I have been using jqgrid 3.4.1 in my project. The way I designed the project is as follows:
1. Get all data as an XML string at once
2. Load into multiple grid on the same UI
So, I used the local datatype:
datatype: 'xmlstring'
Since, the data became huge with time, the performance deteriorated. And since, there was no pagination support for local datatype, I decided to add one. I hope you find this useful and it can be easily added into jqGrid 3.6 with some simple changes. Since I did not have a chance to look at jqGrid versions post 3.4.1, I am providing the changes I made in 3.4.1 to support simple pagination that worked for me.
Here are the changes I made (highlighted in bold):
1. Added, following grid parameters to each grid where pagination was to be supported:
Yes, I know we could've written it ourselves, but for someone who's new to the plug-in this is a great help! Excellent addition to jQuery. Thank you so much for your work in making our lives much easier!
@Sumit Arora – Thank you very much. This work will be in the future 3.7 release. Of course we should adapt it to all datatypes.
@jayarjo – I think yes, we can drag a row to where we want. The method is fully customizable and uses jQuery UI widges draggable and droppable, so you can change all these parameters to meet your needs.
@Adrian – check your configuration and code again. The entrie demo for 3.6 works with the new API.
@jmav – the sample is in the demo and today I will update all the needed demo files, so you can use the method.
Post edited 16:28 – 29/10/2009 by Boris Post edited 16:29 – 29/10/2009 by Boris Post edited 16:30 – 29/10/2009 by Boris Post edited 16:31 – 29/10/2009 by Boris Post edited 16:35 – 29/10/2009 by Boris
I downloaded jqGrid 3.6 beta and trying it on simple example
but it dosen't works
i have this error $.jgrid.format is not a function
Used the load on scroll feature with 50,000 records, it's great Mark. The only anomoly I came across wa son IE7 and it was intermittent, you get the odd blank grid now and again after it says loading, but after you click on the top or bottom buttons of the scrollbar the page appears…so it has loaded the data.
I moved my project from Access to MySQL to use the LIMIT function as this project will probably goto 200,000 records, so the load while scrolling feature is superb as I did not want to use the pagination.
I am using it in conjunction with auto searchiing, filtering the grid as a user keys in a search term. Works excellent! so fast!
// may need to subtract sidebar width, if applicable var width = $(window).width() – 20; if (width < minwidth) { width = minwidth; } gridobj.setGridWidth(width);
Just some feedback on the loading while scrolling, sometimes the grid loses it's select highllighted row.
The functions click and double click still fire, just on a single click the row usually highlights with the themed color, but it loses it intermittently.
Loading whilst scrolling – Came across a more serious problem: IE7 and FF3
The grid is sometimes letting me multiselect rows, it then gives me an error when i doubleclick a row whilst 2 or more are highlighted or once i get the error just double clicking any cell then throws the eroor, I use doubleclick to obtain a pdf and show it in a seprate window, the pdf name is built from the data in the selected row.