jQuery Grid 3.0 rc
October 7th, 2007
At end 3.0 (rc) version of jqGrid is out. This version is a major release, because I have totally rewrite the code for the methods without affecting the behavior of the plugin.
The grid is now compatible with jQuery 1.2.1, but in the example page I use 1.1.4 version of jQuery. The problem is that with 1.2.1 jqGrid has a little slowly behavior. I do not know why?
The example page is totally rewritten. Every example has a separate code for html and javascript. You can view this here.
This version fixes a lot of bugs relating to json data, formating, xml manipulation and add following features.
- The user can now manipulate the number of requested pages. This is done with adding a input box in the pager.
- I have added 4 methods – add, update, delete get row data. With these method we can manipulate the data at client side and of course a possibility to add local array data. See documentation for more information.
- Added is a method to load data only once from the server – loadonce flag in settings. After loading data we do all the manipulation at client side – sorting, scrolling ant etc. Note that in this case pager is disabled.
- Added is a new data type – local (against with xml and json). When this flag is set the grid expect data to be loaded locally via array.
- Now we can multi select rows. This can be done with only one flag multiselect. This feature can be used with server and local array data.
- For first time I introduce a sub grid. This feature can work only with xml data for now. The code and style for sub grid must be optimized and should be used with json too. See example page for more details.
- It is possible now to export the grid data to xml and json format. This is done with two new methods.
- A few new methods are added according to the new features – see documentation page for this.
- New theme of course
Hi,
First of all thx for sharing this great plugin. It makes life easier.
I’ve a question that was asked time ago about loadcomplete: (remember Scot post 8)
In my case what I want to do is add a jqueryConfirm in the delete buttons that I add (putting as trigger the delete link).
2 options:
a) In the page with the grid (the problem is that if i use the loadcomplete for that, the delete button’s are not still in the page.
b) Placing the javascript for doing that in the PHP page that fills the datagrid: problem -> datagrid doesnt understand the … as data, and grid is clear.
Joe(in post 29) said something about a change in the script that was going to send to u. Did it work?
Thx again
oscarml,
Could you please post here or send me the jqGrid configuration for that?
my email is tony at trirand dot com.
Regards
Tony
hi tony,
great peace of work. makes life really easier!!! my jqGrid is working.
but on some other pages that has jqGrid, i’m having problems with “selecting” an items. it won’t select and it should leave a blue highlight (just like in my other pages with jqGrid). lightblue highlight comes out on hover, but when i click the row, it should display a blue highlight on the selected row.
codes are almost the same except for the fields, what could have gone wrong? i’ve been trying to locate as to where i’ve gone wrong.
Hello Tony.
Congratulations for your plugin.
It is perfect for my needs but I don’t know to implement “Live Data Manipulation – Navigator” without other funtions like theme selected, frame, etc. Repeating in other words, I need to implement only your excelent Navigator in my html but I don´t know how to do it. Complementing, my server don’t use XML. Could you send me an email with simple example ? Please, see a html composition in http://www.portaldoscoqueteis.com.br/grid/imagem.JPG .
Thanks. Fernando
Fernando,
There is a documentation page, where you can see what and how you can do it with jqGrid. If you have any problems please post your problem in the forum.
Reagrds
Tony
Hello,
I really like jqGrid, it is a great plugin and made my work lot easier.
Few questions –
1) Can I load the colModel & colName dynamically from a XML file?
2) How can I sort data in the table if my repeatitems=true? I am unable to sort the data when repeatitems=true. I am getting my data from XML file.
Best,
NJ
Hello,
For the first currently this is not possible
For the second – load the data and after loading set the datatype parameter to local
Regards
Tony
Hi,
How can we select all the rows in a jqgrid programmatically??
TIA,
Ruchi
I try to do my first grid but it does not
I followed the documentation the result is a table without data,someone can help me to do it
i’m under easyphp in local
i have folowed this
http://www.secondpersonplural.ca/jqgriddocs/index.htm
I am not getting exact procedure to export grid..
I have read the doc but there not getting examples to get it clear
Can export the grid in xls format in php?
I am trying to find out if jQGrid has some way of displaying an HTML table inside Grid’s cell because I have to display more than one value in a cell. Please let me know if there is a way and point me to a right document. That will be helpful!
There is a documentation page, where you can see what and how you can do it with jqGrid. If you have any problems please post your problem in the forum.
Hi, good stuff.
I wish that you some day can mimic (integrate?) all funcionality of
bBrowser: http://www.votools.de/english/bbrowser/description.htm
bbrowser have image fields, calculated fields, color condicional fields, etc.
bbrowser born in 1990 … 20 years ago …
its a very useful jQuery Grid
It’s very well 🙂 thans for Grid Plugin…