liny

Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • in reply to: Get cell value during grid load #96497
    liny
    Participant

    Hi,

    You can use below example in your customized formatter function:

    formatter:function(cellvalue, options, rowObject){

    in reply to: Sorting data after ‘addRowData’ #96485
    liny
    Participant

    Hi, thanks for your guys.

    Finally! Last line code below is the answer.

    in reply to: Sorting data after ‘addRowData’ #96480
    liny
    Participant

    OlegK said:

    If you don't want to add information about ids to the data which you add you can force sorting with a simple reloading of grid:

    $("#myXXTable").trigger("reloadGrid");

    or

    $("#myXXTable").setGridParam({rowNum:16}).trigger("reloadGrid");
    I hope that it will work.

    Best regards

    Oleg


    Hi,

    I don't quite understand what the “add information about ids” is, could you kindly explain more detail? Thank you very much.

    in reply to: Sorting data after ‘addRowData’ #96453
    liny
    Participant

    Hi, Tony,

    I modified the javascript:

Viewing 4 replies - 1 through 4 (of 4 total)

Stay connected with us in your favorite flavor!