Forum
We are happy to introduce the availability of 3.6 beta version of jqGrid. This release has a lot of user contributions (Thank you Mark) and add more power to jqGrid. Here is the list of the most important features:
- New API - now we follow the concept of jQuery UI calling conventios
- RTL support
- Columns Reordering
- Rows Reordering (sortable rows)
- Drag and drop rows between two or more grids
- Custom Validation
- Custom creation of input elements in editing modules
- New Column Chooser with ability to resort columns
- Full control of all ajax requests
- Loading data while scrolling
- ... and much more
All these new features can be seen here
The beta again with the demo can be obtained from here
We working hard on documentation, so have a patience until we document all fixed bugs and new features.
We hope that this can be done at end of next week (where we expect to publish the final release)
Enjoy
jqGrid Team
03:23
16/10/2009
in New jQgrid there is added event variable "e" onRightClickRow event
Use it like:
onRightClickRow: function(rowid, iRow, iCol, e) {
x=e.clientX; x=e.clientY; //get mouse location
}
This is cool for custom context menu.
More about fix:
04:35
Wow, this looks great. Looks like now I can use a grid to select elements within a grid. Useful when you have items,
like part number that can be "very" large number of records, you can use a grid to select and search within a grid.
Only thing left is to have the ability to select a diferent set of fields for edit, list, and add. I think I can do that
using events/api. Love the drag and drop, Great work.
10:03
28/07/2009
I've played a litlle with it.... amazing
Some troubles on IE6 though (as usual... :-)), when I played with the demo page :
- css troubles in grid rows (headers and font are really large, even in the main menu)
- the column chooser as the bgiframe trouble (combo shows on top), otherwise really cool stuff !
- loading while scrolling doesn't work (the gris is empty when I scroll down "fast" to the middle or to the bottom)
- drag & drop rows has a weird bottom table at loading (rows are not exactly aligned with headers)
Hope someone looks at it for the final ? even if it's IE6... still really used in enterprises (including mine ;-)).
02:19
Moderators
30/10/2007
Hello aurelien,
Thank you for this investigation. To be a honest I do not make tests in IE6. Yes everthing is messed up. Will look where is the reason for this.
Mark - thanks.
@arunatjqg - No there is no support in this release of colspan, rowspan.
Best 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.
09:05
24/09/2009
Currently testing on our development site, haven't found any issues yet.
Did the expand all methods made it into this release (see link)?
15:25
24/09/2009
It'd also be great to have a callback function for whenever a tree node is expanded / collapsed, if that is possible.
For example, I have a "show/hide images" button that shows / hides images in every leaf. I can tell them to be shown or hidden on loadComplete -- but if I show the images, then collapse the node, then hide the images, then expand the node again, the images will be shown (presumabally because they were removed from the DOM and stored in a js object, where they cannot be manipulated with the rest of the DOM while collapsed).
Still no bugs in the beta version on my end. Great work!
22:36
30/07/2009
Just an update on the scrolling problems in ie6 - Ive not had much time to look into this, Im afraid.
But it seems that ie6 wont allow padding-top to go beyond around 32k (presumably, its a 16 bit quantity). Since I was using padding-top to position the table within the scrolling div, it doesnt work...
I've tried what looks like a simple fix, which is to use another div in place of the padding (so we now have an outer div with the full height of the table with all its rows, and an inner div taking up the space of all the unloaded rows before the visible part of the table, and then the table containing the visible rows).
That seems to work in FF, and newer IE's - but in ie6 the table contents dont always appear until you scroll up or down a couple of rows - and yet the developper toolbar shows it in the right place.
I'll keep digging (I need to fix this for my project too!) - but not ready just yet Im afraid.
Mark
02:34
23/10/2009
Hi all
New version of jqGrid is good. It hase a lot of new functionalitys. For me, the most interesting is "True scrolling Rows". Previous version is good but is is even beter.
I am not shure but I think that we have a Bug in it. When I want to go to specific Page by code I have problem. I use this code:
$("#tblUsers").trigger("reloadGrid");
When I run this code it open Page 1. I am not shore whay. Code for my grid is here:
scroll: 1,
url:'../WidgetInsuranceCompanies/GetInsuranceCompanies',
datatype: "json",
height: 200,
width: 600,
colNames: ['ID', 'UZOVI', 'Naam'],
colModel: [
{ name: 'ID_InsuranceCompany', index: 'ID_InsuranceCompany', width: 10, sortable: true },
{ name: 'UZOVIcode', index: 'UZOVICode', width: 15, sortable: true },
{ name: 'Name', index: 'Name', width: 35, sortable: true}
],
rowNum:10,
mtype: "GET",
rownumbers: true,
rownumWidth: 10,
gridview: true,
pager: '#pagerUsers',
sortname: 'ID_InsuranceCompany',
viewrecords: true,
sortorder: "asc",
caption: "Title"
});
And second question is iti posible to select same row from page which is not loaded. If we use this method setSelection we can select rows which are loaded to grid. But is it posible to automatically load page on which is row. If I want to select row from Page 10 it is not posible becouse it is not on client side.
Thanks a lot
04:16
22/10/2009
IMHO, as a casual javascript programmer and first-time jQuery user, the scroll:1 feature is what classifies this as the solution for server hosted tables. Thanks!
As for troubles I experience with 3.6 beta, I report the following:
- height:"auto" grabs all data while any other number results in a partial line,
- the "View x- y of z" has x and y wrong,
- autowidth and resizing via jqGrid('setGridWidth', x, y) works fine, but it's not obvious from the examples,
- (ui, not grid) difficult to adjust css' to suit my site's colors,
- cannot set the style of data cells (using CDATA cannot tweak vertical alignment.)
Thanks again for a great tool. I look forward for getting updated documentation.
Ale
06:56
24/09/2009
pins83 said:
But i don't understand where i have to put the new files, what about grid.loader.js and jquery.jqGrid.js?
put them all in the same directory, then just make sure to have the full path to them in jquery.jqGrid.js…
You have to change this line:
to whatever the full path to your grid is.
09:17
30/07/2009
@dsanel:
i) You're right, there's a bug - setting page wont work. Need to think about how to fix it.
ii) For selecting rows that aren't in the table - it gets tricky 🙂 How do you know the id? (but I would also like a solution to this...)
@ale:
i) We can probably add an "exactRows" param to tell the grid to adjust its height to an exact number of rows
ii) The displayed numbers are the rows which are loaded into the grid (and I believe they are correct!). This matches the non-scroll behavior (try rowNum:100, table 10 lines high).
I thought about displaying the range of visible rows - but that seemed less useful (although probably not if you have rownumbers turned off). Perhaps there should be an option to select between the two...
Mark
Most Users Ever Online: 715
Currently Online:
74 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.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66