Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有四列提前数据网格,如公司、联系人、产品和日期。我想按产品排序,然后是公司,然后是日期。如何在 Advance Datagrid 中执行此操作?
您可以通过按您描述的方案的相反顺序对您AdvancedDataGrid的 's进行排序来完成此操作。dataProvider这将是一系列排序操作。首先按日期排序,然后按产品排序,然后按联系人排序,最后按公司排序。但是,如果您AdvancedDataGrid有可排序的列,则用户交互可能会立即将其搞砸。
AdvancedDataGrid
dataProvider