PivotGrid issue with bindings in detailed View

Posted by: ykumar23 on 18 December 2017, 10:47 pm EST

    • Post Options:
    • Link

    Posted 18 December 2017, 10:47 pm EST

    Hi,

    I created pivot panel, pivot grid similar to demo but in Angular2.

    http://jsfiddle.net/troy_taylor/3dzfe288/

    Based on the configurations, we show custom header names like below:

    ng.fields[0].header = “My Country”;

    But when the cell is clicked, detailed view populated is still showing original header rather than custom header.

    Example:

    In the above link, please add the following line at line 37.

    ng.fields[0].header = “My Own Country”;

    When the grid is populated, clicking on any cell shows detailed view. But this child grid display “Country” instead of “My Own Country”.

  • Posted 19 December 2017, 7:58 am EST

    HI,

    We are investigating on this. We will update you soon.

    ~Manish

  • Posted 20 December 2017, 5:32 am EST

    Hi,

    This is by design. Since grid populated to show detailed view, get data from dataSource which is still country.

    To show new header, we need to get detail FlexGrid and update header for the same.

    Please refer to the updated fiddle:

    http://jsfiddle.net/mkgupta911/3dzfe288/6/

    ~Manish

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels