tony

Forum Replies Created

Viewing 15 replies - 5,686 through 5,700 (of 7,981 total)
  • Author
    Replies
  • in reply to: postext.js – resetting oper param #86785
    tony
    Keymaster

    Hello,

    I'm not sure you should use this. As per docs onclickSubmit should return object which then is extended to the post data. Try this (not tested) it should work:

    onclickSubmit : function () {

    // if you want add to all grid parameters here is a better solution

    jQuery(”#mylinks_grid_table”).setGridParam({postData:{oper:'addlink'}});

    // but here is the right return

    return {oper:'addlink'}

    }

    REgards

    Tony

    in reply to: URL encoding #86784
    tony
    Keymaster

    Hello,

    Currently no, but it will be good if you can decode the response server side and pass it to the grid.

    REgards

    Tony

    in reply to: sort not working #86783
    tony
    Keymaster

    Hello,

    There is a bug in sortGrid method. Fixed in 3.4.4

    Regards

    Tony

    in reply to: Stacking multiple DB values into one field #86782
    tony
    Keymaster

    Hello,

    The better way is to return the combined fields from db to one – i.e return this server side.

    Regards

    Tony

    in reply to: Table lookup #86781
    tony
    Keymaster

    Hello,

    Sorry do not understand.

    Regards

    Tony

    in reply to: upgrade from 3.1 to 3.4 #86780
    tony
    Keymaster

    Hello,

    There is a documaentation what you should do when upgrade, which methods are deprecated and how to replace the old code with the new common methods.

    Regards

    Tony

    in reply to: make checkbox checked #86779
    tony
    Keymaster

    Hello,

    Haw look the response from the server – if the data is in xml post a part from the xml, if the data is on json post the json data

    in reply to: Automatic Searching on Many Fields #86778
    tony
    Keymaster

    Hello,

    Currently not supported, but you can attach a keydown event when the search is constructed. Every search field on serch form has a id = sg_ + the name from colModel

    Regards

    Tony

    in reply to: Col Sort Image NOT changing when resorted by code #86777
    tony
    Keymaster

    Hello,

    jQuery(“#mygrid”).sortGrid(“grid_name”,false);

    but currently there is a bug in this method. Wait a day or two until publishing 3.4.4.

    Also you can check the demo:

    Manipulating->Set Methods

    Regards

    Tony

    in reply to: datepicker with navigator #86776
    tony
    Keymaster

    Hello,

    onInitializeForm:function(myform /*this is formal parameter*/ )

    in reply to: the bar with next page link and Row(s) #86774
    tony
    Keymaster

    Hello,

    Also open the language file and change the text that you want to appear, or set it as parameters to a particular grid.

    Regards

    Tony

    in reply to: JQGrid data loading performace #86773
    tony
    Keymaster

    Hello,

    Thanks for this tests. It is well known that IE6 when using ajax calls is one of the slowest browsers. For me these tests should be considered only if they are compared in other browsers. Also if possible could you please make two comparations

    datatype: function (data) {

    var starttime1 = // first start

    $.ajax({

    complete: function (mydata,status) {

    var starttime2 = // second start-

    addJSONData here

    stop first timer

    stop second timer

    })

    }

    This will be very interested.

    Regards

    Tony

    in reply to: After click button refresh – resets current page! #86772
    tony
    Keymaster

    Hello,

    There is a not documented property

    …navGrid('#pager',

    {refreshstate:'current'}, //common params for the navigator

    );

    in reply to: ‘selected’ class hanging with TreeGrid #86771
    tony
    Keymaster

    Hello,

    Check you id attached to the row. This can happen when you have id's that are equal.

    Regards

    Tony

    in reply to: getRowData not working in IE #86770
    tony
    Keymaster

    Hello,

    What you have if you make alert(mya[0])?

    Also check what values do you have in mya.

    Regards

    Tony

Viewing 15 replies - 5,686 through 5,700 (of 7,981 total)

Stay connected with us in your favorite flavor!