OlegK

Forum Replies Created

Viewing 15 replies - 511 through 525 (of 968 total)
  • Author
    Replies
  • in reply to: How to custom test in cell? #97216
    OlegK
    Participant

    Hello!

    Probably another answer

    in reply to: jqGrid filter or search by date not working client-side #97210
    OlegK
    Participant

    Hello,

    just now, after I wrote the answer on the same question on the stackoverflow.com, I read the thread. I suppose that you use an old version of jqGrid. How you can verify in the example, which I included in the answer on the stackoverflow.com, there are no exceptions which you describes.

    Best regards
    Oleg

    in reply to: Messed up Nav button on jgrid with ui-tabs #97208
    OlegK
    Participant

    Hi,

    look one more time in your HTML code

    <div id="pager2" class="scroll" style="text-align: center;">

    <div id="pager2” class=”scroll” style=”text-align: center;”>

    <div id="pager2” class=”scroll” style=”text-align: center;”>

    HTML not permit to use the same id more then once on one page. So your current HTML code ir wrong. If you copy a code you have to make some minimal modifications in the copy. At least you have to rename two from three ids used as the pager.

    Regards
    Oleg

    in reply to: REST support #97199
    OlegK
    Participant

    You can use mtype option:

    $("#list").jqGrid('navGrid','#pager', {},

    in reply to: scope conflict – formedit / global var rp_ge #97198
    OlegK
    Participant

    Hello,

    I recommend you to try another setting of Add/Edit forms: recreateForm:true (see my feature request). Probably this simple setting will solve your problem.

    Best regards
    Oleg

    in reply to: REST support #97193
    OlegK
    Participant

    Hello LudoO,

    RESTful services on the server side are supported since a long time by jqGrid. To load data from the REST you can use

    ajaxGridOptions: { contentType: 'application/json; charset=utf-8' },

    in reply to: scope conflict – formedit / global var rp_ge #97192
    OlegK
    Participant

    Hello ludoo,

    I disagree with you. The variable rp_ge defined in the line 10 is not global. It is define inside of the body of the function defined in the line 1. I recommend you to use http://www.jslint.com/ to verify JavaScript code. It shows which variables are global. The variable rp_ge defined in the line 10 is do not global.

    Best regards
    Oleg

    OlegK
    Participant

    Hi NoWoL,

    The problem, which you describe with index having period seems for me a bug. The same problem are described here and here. I can imagine that having periods in the index can be important if database schema used on the database, but having index with period in case of pure local data (not “json” datatype and loadonce:true) and can be replaced with jsonmap. So the bug in the case makes have a simple workaround. Which scenario has you?

    Nevertheless it is absolutely another problem not connected with the “Microsoft” data format. You can post additional information to the bug report to remind Tony about the problem. I am not a developer of jqGrid and I am additionally busy for at least next two weeks. So please contact Tony about the problem yourself.

    Best regards
    Oleg

    OlegK
    Participant

    Thank you Tony!

    Now the code on GitHub contain all changes which I need. I will test the code inside of copy of real project which I developed about one year ago and where I should make a small update in the month. If I will find any problem I will post my results here as usual.

    Best regards
    Oleg

    OlegK
    Participant

    Hi NoWoL,

    do you tested the code published from in GitHub or it seems to you that the RegEx is wrong? I don't yet tested the code one more time, but now the RegEx is exactly like in the version which I used and tested many times with different data before I posted the information here.

    Probably you use frequently the form /pattern/modifier of RegEx and not constructor of RegEx with the string literal. There are some difference in coding of backslashes in the two forms. See for example “How to Use The JavaScript RegExp Object” section of this.

    If you will find a bug in the code you are welcome, but please test the code and post exactly which input data will be wrong converted by the code. Which result should be and which wrong result produce the code.

    Best regards
    Oleg

    OlegK
    Participant

    You are wrong Giorgio!

    The object accessible under the data parameter contain current local data saved in the jqGrid inclusive all modification of local data which are already saved.

    Best regards
    Oleg

    OlegK
    Participant

    The same question will be asked frequently (see this or this and many other). You should just work with data parameter of jqGrid.

    Best regards
    Oleg

    in reply to: Dynamically Populate Select Dropdown #97154
    OlegK
    Participant

    Hello,

    You can see that element has id=”dependence”. So you can use

    var sel = $(“select#dependence”);

    or just

    var sel = $(“#dependence”);

    to get the element. The element with id=”tr_dependence” is

    and not element. So from the element the “way” to will be longer:

    var sel =

    in reply to: Dynamically Populate Select Dropdown #97150
    OlegK
    Participant

    Hello!

    You can use Developer Tools of Internet Explorer or Google Chrome or Firebug in Firefox to examine the current modified HTML code any time. If you use Toolbar Filtering, then you will see that ids of all items from the toolbar have prefix “gs_”. Probably you try use it in form editing of inline editing.

    By the way Tenerife is my

    in reply to: Dynamically Populate Select Dropdown #97134
    OlegK
    Participant

    Hello Candra,

    Parameters of 'navGrid' function contains options for Add, Edit, Del,View dialogs. Add and Edit options support recreateForm:true setting. So the call will be

    jQuery(“#list”).jqGrid('navGrid','#pager',

Viewing 15 replies - 511 through 525 (of 968 total)

Stay connected with us in your favorite flavor!