jQWidgets Forums

jQuery UI Widgets Forums Grid Export Custom Aggregates

This topic contains 2 replies, has 2 voices, and was last updated by  Peter Stoev 7 years, 5 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Export Custom Aggregates #97563

    dsFranz
    Participant

    Hi

    I have a Grid with custom aggregates, and I want to export the gird Data.

    In the created pdf, the column width the custom aggregate (Product) shows not the value, just a text : “[object Object]”.

    You can try this on JSFiddle: http://jsfiddle.net/3y7RN/406/
    Push the export Button, and you will get a pdf.

    The example does not really make sense, but it shows the principal.

    So how can I make this work to have the value in the pdf, that is displayed in the Grid???

    Another point is, that I have a custom aggregate Renderer in the column Quantity, which shows Mi, Ma but in the pdf there is Min, Max.
    I have multiple languages in my project, so is there a way to get the custom renderer Text into the pdf???

    Best Regards,
    Franz

    Export Custom Aggregates #97592

    dsFranz
    Participant

    Hello

    I have already found a solution for the problem to export custom aggregates!

    But now I have another problem:
    I have a table with groups and aggregates.
    Displaying aggregates for every group works fine.

    I also wont to export them, and when not currently displayed in Table, I can not read them from displayed Table.

    So my question is: is there any way to get the aggregated data of groups when not displayed???

    Like in your example of group aggregates: https://www.jqwidgets.com/jquery-widgets-demo/demos/jqxgrid/index.htm#demos/jqxgrid/grid-grouping-aggregates.htm

    when expanding a group, you see the aggregated data at bottom of group.
    I need to get this data of all groups, also when currently not in the visible view.
    Is there any method for that???

    Best Regards,
    Franz

    Export Custom Aggregates #97597

    Peter Stoev
    Keymaster

    Hi Franz,

    Unfortunately, this is not possible. The Grid does not have logic about that or API.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    https://www.jqwidgets.com

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

You must be logged in to reply to this topic.