2021-01-21 14:56:20 +08:00
|
|
|
|
using AntDesign.TableModels;
|
|
|
|
|
|
|
|
|
|
namespace AntDesign
|
2020-05-30 01:46:41 +08:00
|
|
|
|
{
|
|
|
|
|
public interface ITable
|
|
|
|
|
{
|
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; }
|
|
|
|
|
|
|
|
|
|
internal int ScrollBarWidth { get; }
|
|
|
|
|
|
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; }
|
|
|
|
|
|
2020-09-07 22:46:50 +08:00
|
|
|
|
public TableLocale Locale { get; set; }
|
|
|
|
|
|
2020-07-10 17:57:20 +08:00
|
|
|
|
internal void SelectionChanged();
|
2020-06-05 16:06:23 +08:00
|
|
|
|
|
2021-03-05 23:58:38 +08:00
|
|
|
|
internal void OnExpandChange(int cacheKey);
|
|
|
|
|
|
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();
|
|
|
|
|
|
2020-06-19 23:06:33 +08:00
|
|
|
|
void SetSelection(string[] keys);
|
2020-07-08 16:12:49 +08:00
|
|
|
|
|
2020-08-01 23:45:48 +08:00
|
|
|
|
internal int[] GetSelectedCacheKeys();
|
2020-07-10 17:57:20 +08:00
|
|
|
|
|
2020-07-08 16:12:49 +08:00
|
|
|
|
void ReloadData();
|
2021-01-09 23:57:31 +08:00
|
|
|
|
|
2021-03-04 20:49:54 +08:00
|
|
|
|
QueryModel GetQueryModel();
|
|
|
|
|
|
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);
|
2020-05-30 01:46:41 +08:00
|
|
|
|
}
|
|
|
|
|
}
|