Skip to main content

grid sort by descending order ax 2012 X++


You can add this code in the init method of the datasource:


super()
this.query().dataSourceTable(tableNum(InventTable)).addSortField(fieldNum(InventTable, RecId),SortOrder::Descending);

Comments

Post a Comment