Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1215
DisplayFormat property of DimensionMetadata for PivotGrid
posted

I am strugling with the DisplayFormat property and cannot get it to work as I expect. Been trying to find documentation on how it should be structured, but short of results.

Setting it like "{0}" displays - as expected - the cell values without decimals and other formatting. When setting to "{#,##0.00}" to display with thousands separator and two decimals the cells are left empty/blank.

Does the DisplayFormat property associated with PivotGrid a special format, and where to find documentation of it?

Thanks in advance.

Parents
No Data
Reply
  • 1215
    Verified Answer
    posted

    Sorry, my own fault. Found it now; have of course to place 0: in front of the format string, like this: "{0:#,##0.00}"

    Works excellent now, case closed. :-)

Children
No Data