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 is finally released
12/11/2009
03:25
Avatar
Adrian
Guest
Guests

Great job guys, again. An important feature I think is the posibility to group data on a column. So if the data is the same and groupOn:true in colModel it should not display the same data, just display it once in a cell and don't put the top/bottom borders for the others cells. Do you got any plans for this? or can you make some sugestions on how to accomplish that?

12/11/2009
09:17
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Something similar what you describe again with loacal data paging and searching are the number one in the next release.

Short after publishing the bug fix 3.6.1 release I will publish roadmap for 3.7

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.

12/11/2009
17:33
Avatar
markw65
Member
Members
Forum Posts: 179
Member Since:
30/07/2009
sp_UserOfflineSmall Offline

Hi Tony,

A minor issue with your commit 7f20d6b7fca9712131738be9a6b5e80272214e52 (a fix for one of my bugs)

-if ($.ui.multiselect && $.ui.multiselect.prototype._setSelected) {
+if ($.fn['multiselect'] && $.ui.multiselect && $.ui.multiselect.prototype._setSelected) {
Isnt the correct fix:

if ($.ui && $.ui.multiselect && $.ui.multiselect.prototype._setSelected) {
Otherwise its quite possible that someone has a different multiselect, which defines $.fn.multiselect, but not $.ui.multiselect, resulting in the same crash we had before...
Mark
13/11/2009
02:29
Avatar
Wooya
Guest
Guests

Hi!

Great job with jqGrid! Laugh I have a question. Will you add columns locking feature in next releases?

Best regards

Wooya

13/11/2009
04:41
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Mark,

Thanks. Fixed.

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.

13/11/2009
06:44
Avatar
Akeru
Member
Members
Forum Posts: 13
Member Since:
17/06/2009
sp_UserOfflineSmall Offline

Any news concerning my issue ?

13/11/2009
18:13
Avatar
heristop
New Member
Members
Forum Posts: 1
Member Since:
14/11/2009
sp_UserOfflineSmall Offline

I use jqGris 3.6 for the drag and drop and it's a great feature.

However I found an issue when you want make several drop in one grid.

In the example, if you add this line to connect grid3 with grid1 in both direction,

the drop towards grid1 does not work :

jQuery(”#grid3″).jqGrid('gridDnD',{connectWith:'#grid1'});

I would like to have this behavior :

[G1] <=>[G2]

^ v

[G3]

Do you have any solution ?

14/11/2009
02:12
Avatar
Rumen[Trirand]
Moderator
Members

Moderators
Forum Posts: 81
Member Since:
08/10/2009
sp_UserOfflineSmall Offline

@Wooya: grouping and fixed columns are the top two features requested by customers, so most probably this is what we will be working on next for 3.7.

Regards,

Rumen Stankov

Trirand ASP.NET WebForms & MVC components based on jQuery & ThemeRoller

http://www.trirand.net

16/11/2009
11:59
Avatar
Jason
Guest
Guests

I'm trying to get one select menu to update a second select menu in the edit dialog. I haved tried using a JSON string, select HTML, etc... to no avail.

Here is the first one that dictates what the second should have:

{name:"action_codes_ata_id",label:"ATA",editable:true,editrules:{edithidden:true},edittype:"select",editoptions:{size:1,dataUrl:"/ipa/ajax/index/callback/getAta/return/html",dataEvents:[{type:"change",fn:function(e){$.ajax({type:"GET",async:false,url:"/ipa/ajax/index/callback/getAtaSubatas/return/html/jqgrid/true/ata_id/"+this.value,success:function(msg){jQuery("#dynagrid").setColProp("action_codes_subata_id",{editoptions:{value:msg}})}})}}]},stype:"select",searchoptions:{dataUrl:"/ipa/ajax/index/callback/getAta/return/html",sopt:["eq"]}},

Here is my second select menu in the form edit dialog:

{name:"action_codes_subata_id",label:"Sub-ATA",editable:true,editrules:{edithidden:true},edittype:"select",stype:"select",searchoptions:{dataUrl:"/ipa/ajax/index/callback/getSubata/return/html",sopt:["eq"]}}

My main problem is getting it to update the second select menu right away. If I close the edit dialog modal and click the record to edit agatin after selecting a value in the first drop-down, the second drop-down contains the right values, but I have to close the form edit dialog in order to 'refresh' that dialog. Thoughts?

16/11/2009
22:39
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

@Akeru,

We still looking into the issue.

@heristop

Thanks. It is a bug. Will try to correct it for the bug fix release.

@Jason,

Dependend listboxes in case of using it in grid edit form dialog is not trivial task. Thinks that must be solved.

1. The second select box should have from one side all available options in order to display them correct when we edit the dialog

2. From other side when we change the value of the first select we should filter only those that we need. This bring us to a problem when we close the form walk throught some records and open it again.

In order to solve the problem:

1. set recreateForm to true

2. Make so that the second select have all the available option when you call them with dataUrl.

3. Define dataEvent change function to filter those that you need. Do not use setColProp, just replace the content of the second select with the options get from the select - you should obtain in this case a html like <option>..</option>

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.

18/11/2009
07:52
Avatar
Jason
Guest
Guests

@Tony:

Thanks for your response. I ended up just using jQuery with an AJAX call in the dataEvent to handle it for me. Due to the massive amount of possibilities in the second list, I do not want to intitially load it with all available options as I chose to load 0 at initialization and require a user to filter the list based on the first select menu's selectedIndex.

-Jason

18/11/2009
16:40
Avatar
markw65
Member
Members
Forum Posts: 179
Member Since:
30/07/2009
sp_UserOfflineSmall Offline

@Tony I've just pushed a number of changes to my fork of jqGrid

- I fixed a couple of issues with continuous scrolling 6ae13faa and 047cda92

- I extended editGridRow to allow editing multiple rows.

The scrolling fixes should probably go into 3.6.1.

The multiple row editing needs a little more work, but I was wondering if you'd be interested in putting it into 3.7

Basically, for each cell, it builds a list of all the distinct values. If there's only one, it puts that into the form, otherwise it puts a preset string (defaulting to "<multiple>") into the field, and optionally sets up autocomplete using the list of distinct values.

When submitting, it sets id to a comma separated list of ids, and removes any fields whose value is "<multiple>".

Right now, it should handle all element types (including custom, provided they can handle "<multiple>") except for checkboxes. Im still trying to think of a good way to deal with those...

You can see it in action on my not-quite finished website at http://replayroutes.com/. Right now it will let you select and edit rows (so you can see how it works), but the submit will fail unless you are the owner of the row(s).

Mark

19/11/2009
01:36
Avatar
simon
Guest
Guests

hi,

first of all, great work!!!

im using jqgrid inside a modal window (jqmodal), which works fine in ie6+7(except some css issues)  & firefox.

but internet explorer 8 keeps on throwing errors.

Webpage error details:

Message: 'ts.rows.0.cells' is null or not an object
Line: 10
Char: 16964
Code: 0
URI: .../jquery.jqGrid.min.js

i updated the grid to 3.6 but it didn't help.

anyone got an idea ?

regards, simon

19/11/2009
04:16
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Mark,

Thanks. The multiple stuff in form edit is very interesting.

I will merge the fixes for the scrolling and keep the multiple for 3.7 maybe. I should think about this.

Will do these things later this night.

As usual I need to say big thanks, but you know this.

Tony

@simon

Could not help if I do not have the code and the response from the server

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.

19/11/2009
05:23
Avatar
simon
Guest
Guests

the code for the grid implementation:

jQuery(document).ready(
        function(){
            jQuery(”#list”).jqGrid({
                url:'/json?command=customer',
                datatype: 'json',
                height: 220,
                width: 600,
                mtype: 'GET',
                colNames:['id','name'],
                colModel :[
                    {name:'id', index:'id', width:120},
                    {name:'name', index:'name', width:450}
                ],
                pager: jQuery('#pager'),
                rowNum:10,
                rowList:[10,20,30],
                sortname: 'name',
                sortorder: 'desc',
                viewrecords: true,
                caption: 'Customers',
                multiselect: true
              }).navGrid('#pager',{add:false,del:false,edit:false,position:”none”});

call of the modal window:

<a href=”#” class=”jqModal”><img id=”search_img” alt=”select”  src=”/images/add.png” /></a>

<div class=”jqmWindow” id=”dialog”>
            <a href=”#” class=”jqmClose” style=”float:right;”><img src=”/images/exit_small.png”
            <p>
                <label>Name:</label>
                <input type=”text” id=”suggest4″ onchange=”gridReload()” />
                <img src=”/images/filter_small.jpg” onclick=”gridReload()” id=”submitButton” value=”Filter” />
                 <img src=”/images/add.jpg” id=”addtoResults” value=”Add”/>
                <br />
             </p>

<!–  if i comment out the following two lines, the content above is shown. otherwise the window is empty and the error appears–>

                <table id=”list” class=”scroll” cellpadding=”0″ cellspacing=”0″ />
                <div id=”pager” class=”scroll” style=”text-align:center;”></div>
           
</div>

Server response:

{"page":1,
"total":2758,
"records":27576,
"rows":[{"id":"1","cell":["1111","customer1"]},
{"id":"2","cell":["222","customer2"]},
{"id":"3","cell":["333","customer3"]},
{"id":"4","cell":["444","customer4"]},
{"id":"5","cell":["555","customer5"]},
{"id":"6","cell":["666","customer6"]},
{"id":"7","cell":["777","customer7"]},
{"id":"8","cell":["888","customer8"]},
{"id":"9","cell":["999","customer9"]},
{"id":"10","cell":["101010","customer10"]}]}


19/11/2009
21:05
Avatar
markw65
Member
Members
Forum Posts: 179
Member Since:
30/07/2009
sp_UserOfflineSmall Offline

tony said:

I will merge the fixes for the scrolling and keep the multiple for 3.7 maybe. I should think about this.

Looks like you picked up the edit multiple changes along with the scrolling fixes…

To keep things clean, I've split the edit multiple changes off onto a separate branch (editmulti) in my fork,

and backed them out of master. If you merge again (from master), you should get the original version…

sorry, I should have done it that way in the first place.

As usual I need to say big thanks, but you know this.

You're welcome – and I'll take the opportunity to say a public thankyou to you too!

Mark

21/11/2009
03:23
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Mark

Thanks again. Looking into your code I forgot to revert back to original form editing module.

Now everthing is OK. I see you create a editmulti branch which is really ok for testing the new feature

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.

23/11/2009
13:49
Avatar
Akeru
Member
Members
Forum Posts: 13
Member Since:
17/06/2009
sp_UserOfflineSmall Offline

Seems my issue is still alive in the 3.6.1...

27/11/2009
01:51
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

We are just looking on this issue.

Please read here:

http://www.trirand.com/blog/?p.....38;ret=all

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.

07/01/2010
00:37
Avatar
descsuit
Member
Members
Forum Posts: 16
Member Since:
27/07/2009
sp_UserOfflineSmall Offline

A while ago I posted a message about including an HTML editor box or developing a plugin system

for adding cell editor types into jqGrid.  I pulled down the code from the GIT repos and made the

modifications to add a plugin system and specifically an html box using tinyMCE for my use.  Anyway,

we never followed up on including it..

Any ideas on how we should proceed?

Alan

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

Most Users Ever Online: 715

Currently Online:
42 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