tony

Forum Replies Created

Viewing 15 replies - 6,001 through 6,015 (of 7,981 total)
  • Author
    Replies
  • in reply to: Reload After Edit #86076
    tony
    Keymaster

    Hello,

    Since we have ajax here try with this:

    var myaftersave = function (id){

    in reply to: Example how to use addJSONData #86075
    tony
    Keymaster

    Hello Anthony,

    Sorry, but some time I do not have access to jqGrid code in order to answer exactly. Thanks for this – I will remember – when I'm not sure I will not answer.

    Look at New in version 3.3 -> Data type as function

    Here we have:

    ..jqGrid({

    datatype : function (pdata) {

    $.ajax({

    url:'server.php?q=2',

    data:pdata,

    dataType:”json”,

    complete: function(jsondata,stat)

    { if(stat==”success”) {

    var thegrid = jQuery(“#listdt”)[0];

    thegrid.addJSONData(eval(“(“+jsondata.responseText+”)”))

    }

    }

    });

    },

    });

    Does this help?

    Best Regards

    Tony

    in reply to: TH alignment #86074
    tony
    Keymaster

    Hello,

    Use setLabel method (after you construct the grid) for this purpose. See docs.

    Regards

    Tony

    in reply to: MS Access & jqGrid #86073
    tony
    Keymaster

    Hello,

    If anyone has experiance with jqGrid and MS Acces Database

    in reply to: custom form #86072
    tony
    Keymaster

    Hello,

    You can use FormToGrid method.

    Regards

    in reply to: Double posts #86071
    tony
    Keymaster

    Hello,

    Do not understand what you mean for double post ( you have two post requests or the values are doubled), but the args array that you return is extended every time with the values from the cell contents when you save it.

    Regards

    Tony

    in reply to: saveRow Function #86070
    tony
    Keymaster

    Hello,

    I suggest in this case to use own ajax something like this:

    onClickButton:function(){

    in reply to: How to add style to a column #86069
    tony
    Keymaster

    Hello,

    The answer is just above and in this forum. You just need to read and use find button in the forum. This topic is discussed many times.

    Regards

    Tony

    in reply to: More than 100 rows! #86068
    tony
    Keymaster

    Hello,

    Check your rowNum parameter in jqGrid. Also check if your server return the correct data.

    Regards

    Tony

    in reply to: Wrap Cell Data #86067
    tony
    Keymaster

    Hello,

    You do not need to coment this line in the css. In your page after you load the grid css you can

    table.scroll tbody td

    in reply to: Can never access content of second row in grid #86066
    tony
    Keymaster

    Hello,

    How are the ids of the rows in the grid? Is your rows like this

    Remember – you should understand that this is row id and not row index – this is quite different.

    Regards

    Tony

    in reply to: Sort the data locally each time its obtained from server #86062
    tony
    Keymaster

    Hello,

    Try to use gridComplete method where you can call sortData method – it is exactly what you want – do not use loadonce.

    Regards

    Tony

    in reply to: clientSide / xml with local sorting #86060
    tony
    Keymaster

    Hello,

    Could you please send me the xml configuration – in my email (and if possible some part of the data generated from the server). At best it will be good if you send me a link to the problem.

    Regards

    Tony

    in reply to: No data appears in grid #86059
    tony
    Keymaster

    Hello,

    Something is wrong with your request. I recommend first – get the generated xml and use it as datatype: 'xmlstring'

    in reply to: fitToScreen() #86058
    tony
    Keymaster

    Hello Kevin,

    We hve two methods setGridWidth and setGridHeight (if I rememeber right) which can do the same.

    Best Regards

    Tony

Viewing 15 replies - 6,001 through 6,015 (of 7,981 total)

Stay connected with us in your favorite flavor!