When I show customization form, I need show alphabetical orderred fields in this form. The current state seems to me the fields are filled by order in datasource of pivot grid. The problem is the application use different and dynamical created dataset and it is imposible order the fields in dataset. Is any way to sort fields in customize dialog in Pivot grid?
For now, you can access the fields ListBox on the Customization Form, and set its Sorted property to True:
type TcxPivotGridCustomizationFormAccess = class(TcxPivotGridCustomizationForm); ... with <cxPivotGrid>.Customization do begin Visible := True; TcxPivotGridCustomizationFormAccess(Form).FieldList.Sorted := True; end;
Is your intention to post an answer to your own question?
- If so, then proceed.
- If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
- If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.