ant-design-blazor/components/table/ITable.cs
thirking 28e2da5b47
fix(module: table): default scrollbar style (#3668)
* fix default scroll style

* add client dimension service

* update demo

---------

Co-authored-by: thirking <king2381955@sina.com>
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-02-20 23:50:25 +08:00

92 lines
2.0 KiB
C#

using System.Collections.Generic;
using AntDesign.Filters;
using AntDesign.TableModels;
namespace AntDesign
{
public interface ITable
{
void ReloadData();
void ReloadData(int? pageIndex, int? pageSize = null);
void ReloadData(QueryModel queryModel);
void ResetData();
QueryModel GetQueryModel();
void SetSelection(ICollection<string> keys);
void SelectAll();
void UnselectAll();
void ExpandAll();
void CollapseAll();
internal TableLocale Locale { get; }
internal ISelectionColumn Selection { get; set; }
internal bool TreeMode { get; }
internal int IndentSize { get; }
internal string ScrollX { get; }
internal string ScrollY { get; }
internal string ScrollBarWidth { get; }
internal string RealScrollBarSize { get; }
internal int ExpandIconColumnIndex { get; }
internal int TreeExpandIconColumnIndex { get; }
internal bool HasExpandTemplate { get; }
internal SortDirection[] SortDirections { get; }
internal void SetSelection(ISelectionColumn selectItem);
internal bool AllSelected { get; }
internal bool AnySelected { get; }
internal bool HasHeaderTemplate { get; }
internal bool HasRowTemplate { get; }
//internal void SelectionChanged();
internal void OnExpandChange(RowData rowData);
internal void Refresh();
internal void ColumnFilterChange();
internal void HasFixLeft();
internal void HasFixRight();
internal void TableLayoutIsFixed();
internal void ColumnSorterChange(IFieldColumn column);
internal bool RowExpandable(RowData rowData);
internal void AddSummaryRow(SummaryRow summaryRow);
internal void OnColumnInitialized();
IFieldFilterTypeResolver FieldFilterTypeResolver { get; }
internal void AddGroupColumn(IFieldColumn column);
internal void RemoveGroupColumn(IFieldColumn column);
}
}