jqGrid 3.6 is finally released
November 8th, 2009
Hello All,
The long awaited 3.6 version of jqGrid is out. For a full list of changes, additions and fixes please refer to the jqGrid Wiki . All the new features can be seen here. You can download the new version form the Download section.
Enjoy
jqGrid Team
Dear:
I have update jqGrid3.6 in my website.But a IE bug appear with message : ui.multiselect is null or or not an object. I am not sure where is the problem .
Thanks,
aliks
Dear:
i cant get the css style !!!
where i can get them? Thanks
Dears:
How about the function of merge cells title, it’s a good feature, isn’t it?
after
may be you must add this reference:
reference this file: ui.multiselect.js
@swimming: jqGrid uses ThemeRoller for themeing. We ship only the Redmond theme by default (check out the source of the examples to see that).
All themes can be downloaded directly from ThemeRoller’s jQuery UI site:
http://jqueryui.com/themeroller/
(click Gallery – 25 ready to use themes) or you can roll your own theme if you wish.
@Rumen
thanks! i got it ^_^!!
You should reference the jquery ui js file before referencing the jqGrid js file. This order is important in 3.6 although it is not a matter in 3.5.
I can’t see the php source of “true scrolling Rows”
my source is ok now. and, it’s a wonderfull feature, so quickly, I like it
@alikis: yes, the grid currently requires the multi-select javascript even when this is not required by the features selected. For now, just include it in your project
We will issue a SP very soon (days) that will address this and any other problems reported.
Regards,
Rumen
Trirand
e.g.
<script src=”js/ui.multiselect.js” type=”text/javascript”>
I’ve ‘managed’ to have a columns with buttons in it. For example the edit delete button for each row.
I did this using a custom formatter and other little tricks.
I was just wondering if there was an easy way to do this in 3.6?
Otherwise, my only real issue at this time is the width of the column. Unlike the column for multiselect or subgrid… the width of the column is always adjusted with the other columns according to the space available. I’ve tried to set a specific width but it just affect the ratio during the resizing.
How could i set the width to be a fix number of pixel and prevent it to be modified when the column width are calculated?
@Basdub
Look at the news and changes. There is a new property in colModel called fixed. If set to true it will do the job for you.
Best Regards
Tony
I’ll surely take a look at this. Thanks for the pointer, that was an easy one right?!!! 🙂
Thanks for all the great work again!
Another quick question: Can we use “sortableRows” along with “gridDnD”.
In my situation, I want to move records between subgrids and also reorder the records in these subgrids.
So far, the gridDnD seems to overrule the sortableRows.
When only one subgrid is expanded, the subgrid “sortableRows” behave properly (i dont’t activate “gridDnD” for only one subgrid).
The “sortableRows” are activated before the “gridDnD”.
Any idea how i could make this work or would you like me to “investigate” this further?
@Basdub,
To be a honest I never try this, but this question is rather to jQuery UI team – can we have at one time sortable and drag and drop? Will try to test this.
Regards
Tony
Works like a charm. Thanks for your hard work!
Tony, regarding the DnD and Sortable. I was not able to make it work properly.
I ended up making my own script that allows sortable and dnd at the same time between table. The script is 120 lines with comments. Its based on the script of LukeDingle.com
If you’re interested.
I’ll use GitHub to communicate about this
Have a question about the CSS for the cells.
ui-jqgrid tr.jqgrow td
white-space:pre
Is this needed for something I might be missing. I had to remove it in order for my cells with large text to wrap to a new line and increase the row height.
hi, i have implemented this grid with asp.net 2.0 but not work with addxmldata in treegrid mode , anyone knows whats is the problem? thanks in advance
@Rumen
Hi Rumen
Any update on SP?
@Tony, @Rumen, et al,
Kudos! You guys did an amazing job on 3.6.
1) MultiSearch “unknown” bug fixed and now works superbly!
2) Column sort and column drag n drop work great.
3) Column add/remove works great with one minor exception. If you have a grid with 20 rows, after adding columns it only displays 19 with a scroll bar. Minor annoyance, but would like to see it fixed.
4) Old bug i.e. empty “Loading…” box when used with 2nd, 3rd, 4th UI Tabs still remains. System is behind a DMZ, so you can’t see it, but I could send an image via GetHub or other means.
Hello,
I have a question regarding info_dialog function. It have a modalopt parameter but is not used yet in celledit. How can I set another positions (top and left) for example without make changes in component js file. Maybe you will remove that hardcoded values and we will make the proper changes from css file
Thanks in advance
Dear,
I tryed the gridDemo3.6 but the grids that works with the function json_encode() are empty, how can i fix this problem ??
thanks
what’s your php version?
PHP version > 5.0 has the function ‘json_encode/json_decode’, if <v5 then you need to install json extension using PEAR/PECL
Hi Tony,
I found some codebug on demopage (http://trirand.com/jqgrid/jqgrid.html)
1.=============================================
/New in version 3.3/Tree Grid:
Java Scrpt code …
jQuery(“#treegrid”).jqGrid({
url: ‘server.php?q=tree’,
treedatatype: “xml”,
…
the “treedatatype” should be “datatype”
2.=================================================
/Data Mapping/Data Optimization:
PHP with MySQL
….
while($row = mysql_fetch_array($result,MYSQL_ASSOC)) { $responce->rows[$i]=$responce->rows[$i][‘cell’]=array($row[id],$row[invdate],$row[name],$row[amount],$row[tax],$row[total],$row[note]); $i++; }
it seems to be “$responce->rows[$i]=array($row[id],$row[invdate],…..” cause of
jsonReader: { repeatitems : true, cell:””, id: “0” }.
I found no Simplifi-Chinese Translation in pack of v3.6,so i did it, download link:
http://dl.javaeye.com/topics/download/673e77f8-a2b4-3129-8086-d31cf4a7e427
update:
grid.locale-cn.js link is
http://dl.javaeye.com/topics/download/3fe82a14-9b85-368f-8444-59d5f843dea9
the download page is http://waiting.javaeye.com/admin/blogs/520488 , chinese language page but can directly download attachment.
Datagrid < Master Grid < Detail Grid < Add or Edit < Date Picker shows up under the Detail Grid. How can I get it to display correctly?
Hello,
Is there an editrules “Unique” ??
Thanks in advance
Hi Tony,
I found “edittype” has “image” option, so a urllink can be display as a photeimage when FormEdit, but “formatter” has no “image” option, so i could only use “link” option to display as a url link stead directly display this image.
In furture can u add “image” option into “formatter”, so imagelink can be display as a photo in grid.
thanks~
hello tony i have a little problem i will be to work with jquery but i need to know when i can to download the aplication Compatible with net beans ide 6.7 thanks
Hi Tony.
I find litle bug in jqgrid when using tree grid.
In grid.base.js in function setCell() change line $(tcell).html(v).attr(“title”,$.jgrid.stripHtml(v));
to
if ($(‘.tree-wrap’,$(tcell)).length>0)
$(‘span’,$(tcell)).html(v).attr(“title”,$.jgrid.stripHtml(v));
else
$(tcell).html(v).attr(“title”,$.jgrid.stripHtml(v));
@Kyranis
No there is no such type, but you can write your own using the custom one. For more info refer to the docs.
@Janniz
There is no version compatible with NetBeans.
@pro85
Thanks, but maybe we should check if treeGrid is available – i.e if treeGird …
Hi Tony.
You right. It’s can be made more simple.
if ($t.p.treeGrid)
Thnx.
@pro85
Sorry, for that, but I mean
if ($t.p.treeGrid && $(’.tree-wrap’,$(tcell)).length>0)
This is more quicker
Also the fix is in GitHub.
Thanks
Hi Tony, great work.
I wonder if there possibility to use smth like as column values? Thank you
Sorry I mean smth like href=”url1″ and “img src=”url2” tags
Thanks