OlegK

Forum Replies Created

Viewing 15 replies - 946 through 960 (of 968 total)
  • Author
    Replies
  • in reply to: headers with vertical orientation #92709
    OlegK
    Participant

    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.

    in reply to: My edit form is not draggable and resizable #92705
    OlegK
    Participant

    Hi,

    there is no css included in your code fragment. Verify, that you have following css included:

    1. jQueryUI-css coresponds used jQueryUI version and theme. For example, “themes/redmond/jquery-ui-1.7.2.custom.css”
    2. jqGrid css like “ui.jqgrid.css”
    3. optional, if you use searching possibilities of jqGrid, include “jquery.searchFilter.css”
    4. optional, if you use possibilities like 'gridResize' etc.: “ui.multiselect.css”

    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

    in reply to: jQgrid $ jQuery 1.4 #92583
    OlegK
    Participant

    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

    in reply to: Custom tooltip/title in row? #92440
    OlegK
    Participant

    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

    in reply to: Bugs. bugs and more bugs HELP!!!! #90935
    OlegK
    Participant

    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

    in reply to: Bugs. bugs and more bugs HELP!!!! #90866
    OlegK
    Participant

    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

    in reply to: Close Form Dialog After Submit #90862
    OlegK
    Participant

    Hi!

    Do you means closeAfterAdd: true, closeAfterEdit: true in Form Editing (http://www.trirand.com/jqgridwiki/doku.php?id=wiki:form_editing)?

    Regards

    Oleg

    in reply to: custom formating of data provided by dataUrl #90389
    OlegK
    Participant

    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:

    in reply to: gridResize is not a function #90331
    OlegK
    Participant

    Hi,

    do you include “jquery-ui.js” from jquery-ui-1.7.2/1.7.1 and “grid.jqueryui.js” from jqGrid-3.6?

    in reply to: Function to recompute column width #90238
    OlegK
    Participant

    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', {

    in reply to: custom formating of data provided by dataUrl #90232
    OlegK
    Participant

    Thank you very much, Tonny!

    Oleg

    in reply to: custom formating of data provided by dataUrl #90231
    OlegK
    Participant

    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

    OlegK
    Participant

    Thank you very much, Tonny!

    Now everything works correct. I love jqGrid!

    Oleg

    OlegK
    Participant

    Hello Tony!

    I reduced my code and made it working with local data only instead of json in the original:

    in reply to: Setting page number to 1 when changing page length #88653
    OlegK
    Participant

    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:

Viewing 15 replies - 946 through 960 (of 968 total)

Stay connected with us in your favorite flavor!