2022-01-10 15:55:00 +08:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using AntDesign.TableModels;
|
2021-01-21 14:56:20 +08:00
|
|
|
|
|
|
|
|
|
namespace AntDesign
|
2020-05-30 01:46:41 +08:00
|
|
|
|
{
|
|
|
|
|
public interface ITable
|
|
|
|
|
{
|
2021-08-08 00:39:48 +08:00
|
|
|
|
void ReloadData();
|
|
|
|
|
|
2021-10-31 14:23:03 +08:00
|
|
|
|
void ReloadData(int? pageIndex, int? pageSize = null);
|
|
|
|
|
|
2022-03-04 23:47:19 +08:00
|
|
|
|
void ReloadData(QueryModel queryModel);
|
|
|
|
|
|
|
|
|
|
void ResetData();
|
|
|
|
|
|
2021-08-08 00:39:48 +08:00
|
|
|
|
QueryModel GetQueryModel();
|
|
|
|
|
|
|
|
|
|
void SetSelection(string[] keys);
|
|
|
|
|
|
2022-01-10 15:55:00 +08:00
|
|
|
|
void SelectAll();
|
|
|
|
|
|
|
|
|
|
void UnselectAll();
|
|
|
|
|
|
2021-08-08 00:39:48 +08:00
|
|
|
|
internal TableLocale Locale { get; }
|
|
|
|
|
|
2020-07-10 17:57:20 +08:00
|
|
|
|
internal ISelectionColumn Selection { get; set; }
|
2020-06-19 23:06:33 +08:00
|
|
|
|
|
2020-11-09 22:17:27 +08:00
|
|
|
|
internal bool TreeMode { get; }
|
|
|
|
|
|
|
|
|
|
internal int IndentSize { get; }
|
|
|
|
|
|
2021-01-09 23:57:31 +08:00
|
|
|
|
internal string ScrollX { get; }
|
|
|
|
|
|
|
|
|
|
internal string ScrollY { get; }
|
|
|
|
|
|
2022-05-17 15:11:21 +08:00
|
|
|
|
internal string ScrollBarWidth { get; }
|
2021-01-09 23:57:31 +08:00
|
|
|
|
|
2021-01-21 14:56:20 +08:00
|
|
|
|
internal int ExpandIconColumnIndex { get; }
|
|
|
|
|
|
|
|
|
|
internal int TreeExpandIconColumnIndex { get; }
|
|
|
|
|
|
|
|
|
|
internal bool HasExpandTemplate { get; }
|
|
|
|
|
|
2021-01-24 13:52:57 +08:00
|
|
|
|
internal SortDirection[] SortDirections { get; }
|
|
|
|
|
|
2022-01-10 15:55:00 +08:00
|
|
|
|
internal bool AllSelected { get; }
|
|
|
|
|
|
|
|
|
|
internal bool AnySelected { get; }
|
|
|
|
|
|
2020-07-10 17:57:20 +08:00
|
|
|
|
internal void SelectionChanged();
|
2020-06-05 16:06:23 +08:00
|
|
|
|
|
2022-01-10 15:55:00 +08:00
|
|
|
|
internal void OnExpandChange(RowData rowData);
|
2021-03-05 23:58:38 +08:00
|
|
|
|
|
2020-06-19 23:06:33 +08:00
|
|
|
|
internal void Refresh();
|
2020-06-05 16:06:23 +08:00
|
|
|
|
|
2020-07-08 16:12:49 +08:00
|
|
|
|
internal void ReloadAndInvokeChange();
|
|
|
|
|
|
2021-01-09 23:57:31 +08:00
|
|
|
|
internal void HasFixLeft();
|
|
|
|
|
|
|
|
|
|
internal void HasFixRight();
|
2021-01-10 21:44:25 +08:00
|
|
|
|
|
|
|
|
|
internal void TableLayoutIsFixed();
|
2021-01-21 14:56:20 +08:00
|
|
|
|
|
2021-01-24 13:52:57 +08:00
|
|
|
|
internal void ColumnSorterChange(IFieldColumn column);
|
|
|
|
|
|
2021-01-21 14:56:20 +08:00
|
|
|
|
internal bool RowExpandable(RowData rowData);
|
2021-03-08 19:18:56 +08:00
|
|
|
|
|
|
|
|
|
internal void AddSummaryRow(SummaryRow summaryRow);
|
2021-09-18 07:48:11 +08:00
|
|
|
|
|
|
|
|
|
internal void OnColumnInitialized();
|
2020-05-30 01:46:41 +08:00
|
|
|
|
}
|
|
|
|
|
}
|