Forum

December 3rd, 2009
You must be logged in to post Login Register

Search Forums:


 






jqGrid 3.6 beta
Read original blog post

UserPost

12:54
15/10/2009


admin

Admin

posts 35

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 http://www.trirand.com/jqgrid/jqgrid36/jqgrid.html">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


Read original blog post

23:00
15/10/2009


PassHours

Member

posts 5

Post edited 04:02 – 16/10/2009 by PassHours


Gr8…..

I will definitely check the new features

Thx.


00:12
16/10/2009


ip-route

Member

posts 4

rocks !


:D

03:23
16/10/2009


jmav

Member

posts 33

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:

http://github.com/tonytomov/jq…..af9f7ce7fe

04:35
17/10/2009


Glenn WEst

Guest

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.

08:46
17/10/2009


DRHansen

Member

posts 6

Post edited 13:47 – 17/10/2009 by DRHansen


The "e" (event) parameter is passed to the ondblClickRow event handler function, as well.

10:03
19/10/2009


aurelien.pernoud

Member

posts 3

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 ;-) ).

15:06
19/10/2009


markw65

Member

posts 179

The bgiframe trouble can easily be solved: turn on bgiframe! (include bgiframe in your header, and then set $.ui.dialog.defaults.bgiframe = true)


I'll try to take a look at the loading while scrolling problem tonight…


Mark

00:55
20/10/2009


Arun

Member

posts 3

Hi, Any update on the colspan and row span option on the header in this version yet???

02:19
20/10/2009


tony

Sofia, Bulgaria

Moderator

posts 5869

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

09:05
22/10/2009


fuhrysteve

Member

posts 12

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
22/10/2009


fuhrysteve

Member

posts 12

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
22/10/2009


markw65

Member

posts 179

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

00:07
23/10/2009


markw65

Member

posts 179

Hi tony,


I've just pushed the changes – seems to work with ie6,ie7 and ff3.5. Not yet tested with other browsers, but I think it should be ok.


Mark

02:34
23/10/2009


dsanel

New Member

posts 1

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").setGridParam({page:3});
$("#tblUsers").trigger("reloadGrid");

When I run this code it open Page 1. I am not shore whay. Code for my grid is here:

$("#tblUsers").jqGrid({
    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 Wink


03:35
23/10/2009


pins83

Italy

Member

posts 6

Hi at all,


I'm new about jqGrid, and i think i's great!


I'm using version 3.5 and now i'd like to test new functionalitys of 3.6 beta.

But i don't understand where i have to put the new files, what about grid.loader.js and jquery.jqGrid.js?


Sorry for this stupid question


Thanks for reply

04:16
23/10/2009


ale

New Member

posts 1

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:50
23/10/2009


Adrian

Guest

Like the new 3.6 version. Is there any way to change the rowNum in this version? I want to make some test to see how wich is the best number.

06:56
23/10/2009


fuhrysteve

Member

posts 12

Post edited 11:59 – 23/10/2009 by fuhrysteve


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:

var pathtojsfiles = "/js/jqgrid/"; // need to be ajusted

to whatever the full path to your grid is.

09:17
23/10/2009


markw65

Member

posts 179

@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


About the jQuery Grid Plugin forum

Most Users Ever Online:

76


Currently Online:

OlegK

ladracu2001

Octavient

50 Guests

Forum Stats:

Groups: 1

Forums: 7

Topics: 5556

Posts: 19552

Membership:

There are 3609 Members

There have been 448 Guests

There is 1 Admin

There are 2 Moderators

Top Posters:

OlegK – 223

markw65 – 179

phicarre – 126

YamilBracho – 124

Renso – 109

Jim P – 101

Administrators: admin (35 Posts)

Moderators: tony (5869 Posts), Rumen[Trirand] (81 Posts)




Ads by Lake Quincy Media
Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information