$month = array('08 Aug', '09 Sep', '10 Oct','11 Nov','12 Dec','01 Jan', '02 Feb','03 Mar', '04 Apr', '05 May','06 Jun','07 Jul');
$field = new PivotField("month");
$field->Text = "Mon";
$field->Sort = "$month";
$pivot->AddColumnField($field);
Hallie | |
Can anyone let me know why this is sorting alphabetically and not by the $month array? Any advice is greatly appreciated!
Posted Jun 8, 2017 , edited Jun 8, 2017
Kool
|
|
David | |
Hi Hallie,
To customize a field sorting, please use the following code:
Please let us know if this solves your issue. Thanks!
Posted Jun 9, 2017
Kool
|
|
Hallie | |
I got this working!! Thank you
Posted Jun 9, 2017 , edited Jun 9, 2017
Kool
|
|