Forum
03:25
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?
09:17
Moderators
30/10/2007
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.
17:33
30/07/2009
Hi Tony,
A minor issue with your commit 7f20d6b7fca9712131738be9a6b5e80272214e52 (a fix for one of my bugs)
04:41
Moderators
30/10/2007
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.
18:13
14/11/2009
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 ?
02:12
Moderators
08/10/2009
@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
11:59
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?
22:39
Moderators
30/10/2007
@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.
07:52
@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
16:40
30/07/2009
@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
01:36
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
04:16
Moderators
30/10/2007
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.
05:23
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"]}]}
21:05
30/07/2009
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
03:23
Moderators
30/10/2007
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.
01:51
Moderators
30/10/2007
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.
00:37
27/07/2009
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
Most Users Ever Online: 715
Currently Online:
33 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