Thank you very much for your advice Les,
but in my case thr information could be not displayed as a chart. In the most tables, which I have, more than 70% of the columns contain texts and only some of columns contain checkboxes.
Hi,
there is no css included in your code fragment. Verify, that you have following css included:
moreover, because you use 'gridResize' feature, you have to include “ui.multiselect.js”. If you use searching possibilities of jqGrid, include “jquery.searchFilter.js” also.
Best regards
Oleg
Hi!
There are some small compatibility problems with jquery-1.4.1.js/jquery-1.4.js in jqModal.js and jqDnR.js. One have to replace in jqModal.js and jqDnR.js the text “$()” with the “$(document)”. This problem is described, for example, in http://forum.jquery.com/topic/…..jquery-1-4. Without such changes jqModal and jqDnR works incorrect together with jquery-1.4.1/1.4.
One more small information for person used jquery-1.4.1.js/jquery-1.4.js together with Visual Studio 2008/2010. A reference to jquery-1.4.1-vsdoc.js file (needed for IntelliSense) is not placed on the page http://docs.jquery.com/Downloa…..ing_jQuery, but it can be loaded from http://ajax.microsoft.com/ajax…..1-vsdoc.js (see http://www.asp.net/ajaxLibrary/cdn.ashx to find the vsdoc.js file for current jQuery release).
Best regards
Oleg
Hi Glen,
such strange look has long headers in old version of IE (in IE 6). How to fix the problem in IE6 I don’t now currently. Probably Tony could help you. In more modern versions of IE, the text in column headers will be cut off like you want. To add tooltips to headers I use code like
Hi Shalini,
nobody can helps you to find an error in your code if you don't post your code. The only general way which I can suggest you: load a working example from the internet which most close to you environment and start step by step modify this example to receive at the and you code. After every small step verify that the code still working.
Regards
Oleg
Hi, Shalini
in the jqGrid Documantation http://www.trirand.com/jqgridwiki/doku.php?id=wiki:jqgriddocs there are some articles about installation of jqGrid. If you read http://www.trirand.com/jqgridwiki/doku.php?id=wiki:how_to_install you will find which css and js files in which order you should include.
Regards
Oleg
Hi!
Do you means closeAfterAdd: true, closeAfterEdit: true in Form Editing (http://www.trirand.com/jqgridwiki/doku.php?id=wiki:form_editing)?
Regards
Oleg
Hi Tony,
I tested buildSelect feature only in the case of edittype: 'select' and editoptions: { dataUrl:'…', buildSelect: mybuildSelectFunction}. There is a small problem which can be easy fixed: mybuildSelectFunction will be called two times: first expected in line 326 of grid.common.js (var b = options.buildSelect(data);) and another time unexpected with 0 as data in the line 340 (jQuery(elem).attr(options);).
To fix the problem one can add, for example, after the line 326 (var b = options.buildSelect(data);) the following line:
Hi,
do you include “jquery-ui.js” from jquery-ui-1.7.2/1.7.1 and “grid.jqueryui.js” from jqGrid-3.6?
Thanks a lot, Tony!
One needs only a small change in code from http://www.trirand.com/jqgridwiki/doku.php?id=wiki:jquery_ui_methods#column_chooser. In
jQuery(“#list”).jqGrid('columnChooser', {
Thank you very much, Tonny!
Oleg
Hello Tonny,
you are right of cause, that one could overwrite complete function in all $.ajax requests with respect of $.jgrid.ajaxOptions, ajaxEditOptions or ajaxso parameters. But on the other side if somebody does so, he’ll receive problem of using internal jqGrid structures. In complete function inside of createEl in grid.common.js for example one needs use options and other variable in the scope.
The main idea of my suggestion is very easy. With respect of custom serialization/deserialization functions one could change paradigm of jqGrid usage on the side of backend services. Currently one has to provide on the backend server services providing data for jqGrid in a special format prepared for jqGrid. If you allow to use custom serialization and destabilization functions, if would be possible use many existing backend services and convert data for jqGrid before and after $.ajax requests. The conversion can de done on the client side, without any additional requirement to the backend! It could be important for lot of scenarios of jqGrid usage.
Functions serializeGridData, serializeRowData, serializeEditData from v.3.6 provide serialization, but I found no deserialization functions. There are exists also errorfunc, errorTextFormat, which are very useful for decode error messages provided by server.
Why not provide functions like deserializeGridData etc., which could convert data send from server (responseText) to format needed for jqGrid? For example, for conversion from JSON format to HTML fragment (…) like in the case of dataUrl?
Best regards
Oleg
Thank you very much, Tonny!
Now everything works correct. I love jqGrid!
Oleg
Hello Tony!
I reduced my code and made it working with local data only instead of json in the original:
…
Hi Tony,
A small remark. In the current version on GitHub the lines 816 and 817 in grid.base.js should be swaped. Correct code should be:
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top