OlegK

Forum Replies Created

Viewing 15 replies - 181 through 195 (of 968 total)
  • Author
    Replies
  • in reply to: Can’t get datepicker to work #99793
    OlegK
    Participant

    Sorry, but I never have seen so funny file as

    in reply to: jqGrid problem with jqGrid 4.3.2 #99784
    OlegK
    Participant

    In any way you should include grid.locale-en.js before jquery.jqGrid.min.js (see the documentation). Moreover you should use jsonReader parameter which corresponds your JSON data. For example it could be
    jsonReader: { repeatitems: true }

    It would be good to include id property in the data. The following could be used

    jsonReader: { repeatitems: true, id: "name"

    in reply to: Cannot get JQGrid working with JSON data #99783
    OlegK
    Participant

    I answered you here before. You should use jsonReader instead of jsonreader to solve the problem.

    Best regards
    Oleg

    in reply to: this.isEmpty is not a function BUG in 4.3.2 #99780
    OlegK
    Participant

    It's known bug. Look at the answer

    in reply to: this.isEmpty is not a function BUG in 4.3.2 #99781
    OlegK
    Participant
    in reply to: load on scroll bug #99776
    OlegK
    Participant

    Sorry Tom, but the code which you post is very very bad. You should never use datatype as function just to make $.ajax request internaly. There are a lot of jqGrid options which allows you to customize request how you as want. You can ajaxGridOptions option and serializeGridData and beforeProcessing

    OlegK
    Participant

    Hello!

    I will try to help you. You need clear understand which actions should be exectued one and which need be executed at the end of every filling of the grid body.

    If you create the the grid using jQuery(“#list”).jqGrid({…}); the empty

    element will be converted to grid. Many additional dived over the

    will be created. For example it will be created div which hold the column headers, pager, caption abd so on. So one should create the grid once. In the same way after the grid with all the elemens are created you can for example modify the pager with the code $(“option[value=100000000]”).text('All');. You should do this once for example in the next line after jQuery(“#list”).jqGrid({…});. On the other time if you do the action inside of loadComplete on every grid filling it will only make the loading of grid a little slowly, but it will make no problems.

    In the same you should create filter toolbar with respect of

    in reply to: jqgrid 4.3.2 bug when field is requried #99768
    OlegK
    Participant

    Hello!

    The reason on the problem seems to me the last changes where the value of this are changed in the calls of checkValues and

    in reply to: SubGrid options and Memory Leaks #99754
    OlegK
    Participant

    Hi Kris,

    I agree that I expressed me not clear enough in my last post. What I suggest is mostly the code optimization of addSubGrid

    OlegK
    Participant

    Hello Tony!

    I downlowded the current version of jqGrid from the download page and see a lot of changes, bug fixes and new features made after the first publishing of jqGrid 4.3.2. Would be it not better to change the version number from 4.3.2 to 4.3.3? It will simplify the troubleshoting.

    One more strange thing one can see: the files src\i18n\grid.locale-en.js and src\i18n\grid.locale-de.js are new, but the files js\i18n\grid.locale-en.js and js\i18n\grid.locale-en.js are still old. Probebly it would be nice to place in the js\i18n

    OlegK
    Participant

    I described in my answer how the bug can be fixed. I repeat the description of the fix here. To fix the problem it's enough to set focus to any other element on the page which will be not destroyed by saveRow. It will force 'change' event in the which saves the current option choice and do additionally many other finalizations like closing popup menus (for example from datepicker or other controls which could be attached to the editing field).

    So I suggest just to add the line

    $(ta).closest("tr.jqgrow").focus();

    before the line which calls saveRow. The demo uses the fix.

    I hope that Tony will read the post and include the fix in the main code of jqGrid.

    Best regards
    Oleg

    OlegK
    Participant

    The version publishes as

    OlegK
    Participant

    You are welcome seph!

    It would be helpful if you provide the demo (test case) which reproduces the problem. In the case on can quickly localize and fix the problem.

    I used the demo

    OlegK
    Participant

    Hello Tony,

    probably I should not write many things in one post. You answerd only on my last suggestion and not commented the previous one.

    First of all I think one should fix mostly common used locale files like grid.locale-en.js. I posted the pool request

    OlegK
    Participant

    Hello Tony,

    I examined the code of parseDate

Viewing 15 replies - 181 through 195 (of 968 total)

Stay connected with us in your favorite flavor!