SorterItemCollection sc = new SorterItemCollection();
SorterItemInfo sorterItem = new SorterItemInfo("bizDate");
sorterItem.setSortType(SortType.ASCEND);
sc.add(sorterItem);
mainQuery.setSorter(sc);
本文介绍了如何在EAS BOS系统中实现单据列表界面的排序功能,详细展示了设置SorterItemCollection及SortType的过程,包括bizDate、PurchaseOrg.name、FixCenter.name和number字段的升序和降序排序代码实现。
SorterItemCollection sc = new SorterItemCollection();
SorterItemInfo sorterItem = new SorterItemInfo("bizDate");
sorterItem.setSortType(SortType.ASCEND);
sc.add(sorterItem);
mainQuery.setSorter(sc);

被折叠的 条评论
为什么被折叠?