mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-15 09:21:24 +08:00
080d4dda43
* feat: table column sort add sortway support singleness or mutiple * fix: error method name * add sort directions * delete useless property Co-authored-by: ElderJames <shunjiey@hotmail.com>
20 lines
435 B
C#
20 lines
435 B
C#
using System.Linq;
|
|
|
|
namespace AntDesign.TableModels
|
|
{
|
|
public interface ITableSortModel
|
|
{
|
|
public string Sort { get; }
|
|
|
|
public int Priority { get; }
|
|
|
|
public string FieldName { get; }
|
|
|
|
internal SortDirection SortDirection { get; }
|
|
|
|
internal void SetSortDirection(SortDirection sortDirection);
|
|
|
|
internal IOrderedQueryable<TItem> SortList<TItem>(IQueryable<TItem> source);
|
|
}
|
|
}
|