Last Updated: 12 Dec 2017 12:01 by ADMIN
Created on: 13 Nov 2017 01:00
Category: PivotGrid
Type: Feature Request
PivotGrid: Implement layout that will span all the columns of top header when there are multiple subheaders
With the current implementation the top level header only visually appears as one cell, however it stretches the subheader column below (check PivotGrid(Now).png).

Looking the attach file,now the XAML is following:
                        <pivot:PropertyAggregateDescription PropertyName="AccValue" CustomName="total"/>
                        <pivot:PropertyAggregateDescription PropertyName="IncValue" CustomName="increased"/>

                        <pivot:PropertyGroupDescription PropertyName="SystemDeviceCode"/>
the SystemDeviceCode column just use one column ,like the attach "PivotGrid(Now).png",when the text is long ,the first column "Total" is too wide .
I hope like the attach "PivotGrid(desired).PNG",the SystemDeviceCode column can span two columns.
     and the data struct:

 public class DayStruct1
        public string HourNum { get; set; }
        public string SystemDeviceCode { get; set; }
        public double AccValue { get; set; }
        public double IncValue { get; set; }
        public DateTime Date { get; set; }
1 comment
Posted on: 12 Dec 2017 11:55
Hi Wu,

With the current implementation of the control this is not possible. I converted the item to Feature Request and will update the title as well.