mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-02 12:07:44 +08:00
8f00d47fe5
* docs: add crud demo * update demo
40 lines
960 B
C#
40 lines
960 B
C#
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Linq.Expressions;
|
|
using AntDesign.TableModels;
|
|
using Microsoft.AspNetCore.Components;
|
|
|
|
namespace AntDesign
|
|
{
|
|
public interface IFieldColumn : IColumn
|
|
{
|
|
public string DisplayName { get; }
|
|
|
|
public string FieldName { get; }
|
|
|
|
public string Format { get; set; }
|
|
|
|
public bool Sortable { get; set; }
|
|
|
|
public bool Filterable { get; set; }
|
|
|
|
public int SorterMultiple { get; set; }
|
|
|
|
public bool Grouping { get; set; }
|
|
|
|
public ITableSortModel SortModel { get; }
|
|
|
|
public ITableFilterModel FilterModel { get; }
|
|
|
|
internal void ClearSorter();
|
|
|
|
internal void ClearFilters();
|
|
|
|
internal void SetFilterModel(ITableFilterModel filterModel);
|
|
|
|
internal void SetSortModel(ITableSortModel sortModel);
|
|
|
|
internal IQueryable<IGrouping<object, TItem>> Group<TItem>(IQueryable<TItem> source);
|
|
}
|
|
}
|