Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
This topic is locked No permission to create posts
sp_Feed Topic RSS sp_TopicIcon
jqGrid 3.6 beta
15/10/2009
12:54
Avatar
admin
Admin
Members
Forum Posts: 66
Member Since:
05/05/2007
sp_UserOfflineSmall Offline

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

15/10/2009
23:00
Avatar
PassHours
Member
Members
Forum Posts: 5
Member Since:
14/10/2009
sp_UserOfflineSmall Offline

Gr8…..

I will definitely check the new features

Thx.

16/10/2009
00:12
Avatar
ip-route
Member
Members
Forum Posts: 4
Member Since:
27/09/2009
sp_UserOfflineSmall Offline

rocks !

😀

16/10/2009
03:23
Avatar
jmav
Member
Members
Forum Posts: 34
Member Since:
16/10/2009
sp_UserOfflineSmall Offline

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

17/10/2009
04:35
Avatar
Glenn WEst
Guest
Guests

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.

17/10/2009
08:46
Avatar
DRHansen
Member
Members
Forum Posts: 6
Member Since:
16/09/2009
sp_UserOfflineSmall Offline

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

19/10/2009
10:03
Avatar
aurelien.pernoud
Member
Members
Forum Posts: 5
Member Since:
28/07/2009
sp_UserOfflineSmall Offline

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

19/10/2009
15:06
Avatar
markw65
Member
Members
Forum Posts: 179
Member Since:
30/07/2009
sp_UserOfflineSmall Offline

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

20/10/2009
00:55
Avatar
Arun
Member
Members
Forum Posts: 3
Member Since:
05/10/2009
sp_UserOfflineSmall Offline

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

20/10/2009
02:19
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

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.

22/10/2009
09:05
Avatar
fuhrysteve
Member
Members
Forum Posts: 12
Member Since:
24/09/2009
sp_UserOfflineSmall Offline

Currently testing on our development site, haven't found any issues yet.

Did the expand all methods made it into this release (see link)?

22/10/2009
15:25
Avatar
fuhrysteve
Member
Members
Forum Posts: 12
Member Since:
24/09/2009
sp_UserOfflineSmall Offline

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/10/2009
22:36
Avatar
markw65
Member
Members
Forum Posts: 179
Member Since:
30/07/2009
sp_UserOfflineSmall Offline

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

23/10/2009
00:07
Avatar
markw65
Member
Members
Forum Posts: 179
Member Since:
30/07/2009
sp_UserOfflineSmall Offline

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

23/10/2009
02:34
Avatar
dsanel
New Member
Members
Forum Posts: 1
Member Since:
23/10/2009
sp_UserOfflineSmall Offline

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

23/10/2009
03:35
Avatar
pins83
Italy
Member
Members
Forum Posts: 6
Member Since:
23/10/2009
sp_UserOfflineSmall Offline

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

23/10/2009
04:16
Avatar
ale
New Member
Members
Forum Posts: 1
Member Since:
22/10/2009
sp_UserOfflineSmall Offline

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

23/10/2009
06:50
Avatar
Adrian
Guest
Guests

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.

23/10/2009
06:56
Avatar
fuhrysteve
Member
Members
Forum Posts: 12
Member Since:
24/09/2009
sp_UserOfflineSmall Offline

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.

23/10/2009
09:17
Avatar
markw65
Member
Members
Forum Posts: 179
Member Since:
30/07/2009
sp_UserOfflineSmall Offline

@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

This topic is locked No permission to create posts
Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
47 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.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information