Hi Guys
With addSortField you can set "only" the records order.
With AddOrderByField you can build some logic because is used the kernel class QueryOrderByField.
So, you can use the follow methods :
- direction
- autoHeader
- autoHeaderDetailLevel
- autoSum
- autoSumDetailLevel
- datasource
- fieldId
You can find some examples on the standard class :
- DimensionProvider Class, getDimensionOrderBysFromQuery method
- InventDimCtrl_Frm_OnHand class, modifyQuery method
Enjoy!
With addSortField you can set "only" the records order.
With AddOrderByField you can build some logic because is used the kernel class QueryOrderByField.
So, you can use the follow methods :
- direction
- autoHeader
- autoHeaderDetailLevel
- autoSum
- autoSumDetailLevel
- datasource
- fieldId
You can find some examples on the standard class :
- DimensionProvider Class, getDimensionOrderBysFromQuery method
- InventDimCtrl_Frm_OnHand class, modifyQuery method
Enjoy!