jQWidgets Forums

jQuery UI Widgets Forums Grid Export + cellsrenderer problem

This topic contains 2 replies, has 2 voices, and was last updated by  Nicolas 11 years, 11 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Export + cellsrenderer problem #22783

    Nicolas
    Participant

    Hi,

    Some of my jqxGrid’s columns use a “cellsrenderer” function to parse their values. But when I want to export my grid, it looks like that the cellsrenderer functions aren’t call, and I receive the initial data, not the rendered values.

    To make this clearer, I’ve made this jsFiddle. Look at the column “Price”, then export the data. You’ll see that you won’t receive the same values.

    http://jsfiddle.net/r8CNe/

    Is it a bug? Or is there a workaround to make it works?

    Regards

    Export + cellsrenderer problem #22786

    Peter Stoev
    Keymaster

    Hi,

    The Grid exports the rows with their cell values. The exporter does not take into account the “cellsrenderer’ callbacks because you can put any HTML in the cells which may not be exportable.

    Best regards,
    Peter Stoev

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

    Export + cellsrenderer problem #22792

    Nicolas
    Participant

    Thank you for your explanation!

    But in that case, I’ll need to handle this on my side. Because for my use, it won’t make sense to export unrenderer values.

    Is there an easy way to develop this workaround? An event or a function I can call or override?

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

You must be logged in to reply to this topic.