hello and sorry for my bad english
I have a question regarding Blazor's Pivot component
Is it possible to rename the properties of the objects associated with the Pivot?
I have a collection of classes that I associate with the pivot data source.
The class is:
public string CustomerId {get; set to; }
public string CustomerName {get; set to; }
public string CustomerCity {get; set to; }
public string CustomerProvince {get; set to; }
public string CustomerRegion {get; set to; }
public string CustomerState {get; set to; }
public string CustomerSector {get; set to; }
public string AgentName {get; set to; }
public string BrandName {get; set to; }
public string DocumentTypeName {get; set to; }
public int Year {get; set to; }
public int Semester {get; set to; }
public int Quarter {get; set to; }
public int Month {get; set to; }
public int Week {get; set to; }
public int DayOfMonth {get; set to; }
public int DayOfWeek {get; set to; }
Public decimal amount {get; set to; }
public decimal DiscountedAmount {get; set to; }
public decimal Discount {get; set to; }
Is it possible to display the text "Customer code" instead of "CustomerId" in the FieldlList, or the text "Day of the week" instead of "DayOfWeek" etc.?
I searched in the documentation but without success
Thanks for the reply and for the excellent work done
Luca
Attachment:
PivotFieldList_647d4834.zip