public void init() { super(); smmEncyclopediaItems_ds.query().dataSourceNo( 1 ). addSortField( fieldNum( smmEncyclopediaItems, ParentId ), SortOrder::Ascending ); smmEncyclopediaItems_ds.query().dataSourceNo( 1 ). addSortField( fieldNum( smmEncyclopediaItems, order ), SortOrder::Ascending ); smmEncyclopediaItems_ds.query().dataSourceNo( 1 ). addSortField( fieldNum( smmEncyclopediaItems, ItemName ), SortOrder::Ascending ); }
Microsoft AX 2012, X++, C#, SQL server, SSRS, Java, JavaFX, Oracle, PL/SQL, Delphi - codes examples, step-by-step tutorials, experiences.
Friday, September 18, 2020
AX - How to sort datasource
Simple add into datasource Init() method this code:
Tags:
ax,
ax - sorting
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment