mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-04 04:58:05 +08:00
643c6de31e
* feat(module:table): header template and item template * add demos * fix merge conflict * rename some api Co-authored-by: anranruye <hehewewe@hotmail.com>
77 lines
1.6 KiB
C#
77 lines
1.6 KiB
C#
using System.Collections.Generic;
|
|
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(string[] keys);
|
|
|
|
void SelectAll();
|
|
|
|
void UnselectAll();
|
|
|
|
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 int ExpandIconColumnIndex { get; }
|
|
|
|
internal int TreeExpandIconColumnIndex { get; }
|
|
|
|
internal bool HasExpandTemplate { get; }
|
|
|
|
internal SortDirection[] SortDirections { get; }
|
|
|
|
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 ReloadAndInvokeChange();
|
|
|
|
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();
|
|
}
|
|
}
|