jQWidgets Forums

jQuery UI Widgets Forums Grid export to xls cellsrenderer column

This topic contains 1 reply, has 2 voices, and was last updated by  Dimitar 9 years, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • export to xls cellsrenderer column #71933

    omargarro
    Participant

    Hi, I’ve a grid that I want to export to xls

    When exporting data using exportdata method, columns that have special cellsrenderer function are not exported.

    Is it so ?

    this is the grid column that is not being exported:

    { text: ‘Estado Delphos’, datafield: ‘Estado_Delphos3′, width: 180, filtertype:’list’,
    cellsrenderer: function(index, datafield, value, defaultValue, column, rowdata) {
    x=””;
    if( rowdata.Partner == “INTERLAB”)
    if( rowdata.ARCHIVO && rowdata.ARCHIVO !== “” )
    x = rowdata.Estado_Delphos + “-” + “NO GENERADO”;
    else
    x = rowdata.ARCHIVO;
    else
    if( rowdata.Partner == “QUEST” || rowdata.Partner ==”CRL” )
    if( ! rowdata.FECHOR_INF || rowdata.FECHOR_INF == “” )
    x = “NO GENERADO”;
    else
    x = “Generado->” + rowdata.FECHOR_INF;
    else
    if( rowdata.Estado_Delphos == “Pdf Generado->” )
    x = “Pdf Gen.->” + rowdata.FEC_HOR_IMP_2;
    else
    x = rowdata.Estado_Delphos;

    return x;
    }

    export to xls cellsrenderer column #71948

    Dimitar
    Participant

    Hi omargarro,

    Columns with cellsrenderer are exported, but the changes/styling applied to cells by cellsrenderer are not.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.