Pivot field - getValue - row number

Posted by: mary431982 on 10 December 2020, 5:43 am EST

  • Posted 10 December 2020, 5:43 am EST

    Hello, I have 2 question:

    1. in the function getValue in PivotField - can we find out for which ROW are we setting the value? We can hava “item” as input parameter in that function, can we have the row number information?

    2. why is there NO information in pivotGrid.rowHeaders.columns in each column about anything related to pivot row field (header, binding, anything which can help me to identify that column)?

    Thanx, Marija

  • Posted 14 December 2020, 2:02 pm EST

    Hi Marija,

    1). I’m sorry but PivotField do not have any inbuilt method getValue(), could you please provide some more information about the method you are referring to?

    2). PivotGrid inherits from FlexGrid and column objects are also is also the same used in the flexgrid which is why it does not contains information about the pivot field. To get information about the pivot keys for a cell you may use the getKeys() method.

    https://www.grapecity.com/wijmo/api/classes/wijmo_olap.pivotgrid.html#getkeys

    Regards

Need extra support?

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

Learn More

Forum Channels