OlegK

Forum Replies Created

Viewing 15 replies - 121 through 135 (of 968 total)
  • Author
    Replies
  • in reply to: Seleting the checkbox based on XML value #100657
    OlegK
    Participant

    Hi Tony,

    I think that the user want to set multilelect chechbox based on from the data. One can't define currently

    in reply to: Usage of $.jgrid.jqID everywhere where it’s needed #100651
    OlegK
    Participant

    Hello Tony,

    I want remind you about one part from the old suggestion.

    I answerd last time many questions on the stackoverflow where the reason of posted problem was usage of id of grid having spaces. So I would like remind you about the suggestion to modify the line of code of jqID

    return String(sid).replace(/[!"#$%&'()*+,.\/:;?@\[\\\]^{|}~]/g,"\\mce_markeramp;");

    and include additional space in the list of characters which need be escaped:

    return String(sid).replace(/[!"#$%&'()*+,.\/: ;?@\[\\\]^{|}~]/g,"\\mce_markeramp;");

    I am very careful now with the editor used in the forum if one use backslashes in the code. So I repeat additionally in words, that I suggest just add ' ' (space character) in the mask. I think that this simple change will save many time for some developers who uses jqGrid.

    Oleg

    in reply to: bug in local searching #100635
    OlegK
    Participant

    Hello Tony,

    it seems to me that I fond a simple fix of the problem. I posted the pull request with the corresponding suggestion.

    Best regards
    Oleg

    in reply to: Cellattr and font-style #100628
    OlegK
    Participant

    I think that it would be better to rewrite the code which parse cellattr and use
    /^s*(w+)s*=s*(["|'])(.*?)2(.*)/.exec(...)
    to parce the results returned from cellattr callback. If one use
    var attrStr = cm.cellattr.call(...), matches, name, value, quote, tilteValue,

    in reply to: $.browser is undefined with jquery 1.9 in jqGrid 4.4.3 #100627
    OlegK
    Participant

    The problem is already fixed in the code on github (see here). You can either do the same modification in your copy of the code of wait for Tony will publish the next version of jqGrid. I hope that he'll publish jqGrid 4.4.4 very soon.

    Regards
    Oleg

    in reply to: bug in local searching #100626
    OlegK
    Participant

    OK I included showQuery: true option in

    in reply to: Why does rowNum get overwritten to 10000? #100624
    OlegK
    Participant

    You are welcome!

    At the first look TreeGrid is wrong choice for your requirements. Probably grid with subgrids is what you really need? You will display 10 accounts in the grid having pagination. I would recommend you to add searching toolbar to the grid. If you just add subGrid: true option to the account grid the column with “+” will be add and if the user click on the icon you can create any custom information below the expended row. Typically one creates subgrid with some kind of details inside of subGridRowExpanded.

    I recomend you additionally to read the answer which could be helpful in your case.

    Regards
    Oleg

    in reply to: Why does rowNum get overwritten to 10000? #100622
    OlegK
    Participant

    TreeGrid don't supports paging so all node at one should be displayed by tree grid (see limitations in

    in reply to: jqGrid 4,4,1 hanging on reload #100620
    OlegK
    Participant

    You should search the origin of the problem in your code which you don't posted here. Typical error could be usage of multiple changes of the page instead of usage of cellattr, rowattr and custom formatter together with gridview:true option. You should search for origin of the performance problem presumably in your code from loadComplete or gridComplete. I recommend you to read the answer

    OlegK
    Participant

    You should use recreateForm: true

    OlegK
    Participant

    I suppose that you have just an old problem with requirement to use recreateForm: true. See the answer for example.

    I suggested Tony multiple times (see here for example) to change default value of

    in reply to: populate array using addRowData with array #100566
    OlegK
    Participant

    You are right Tony! One should test only for undefined value.

    in reply to: unreachable code in grid.formedit.js #100562
    OlegK
    Participant

    reloadAfterSubmit is just an option which default value is true (see the documentation), but one can change it like any other option. Typically one specify the option as part of parameters of navGrid

    in reply to: populate array using addRowData with array #100561
    OlegK
    Participant

    I think that the line
    try {rowid = data[cnm];}
    can be fixed to
    try {rowid = data[cnm] || $.jgrid.randId();}
    which is equivalent to (short form)
    try {rowid = data[cnm] ? data[cnm]

    OlegK
    Participant

    Hi Abani,

    I can't imagine that any business requirement can be “use jqModal.js

Viewing 15 replies - 121 through 135 (of 968 total)

Stay connected with us in your favorite flavor!