ant-design-blazor/components/table/ITable.cs
James Yeung 643c6de31e
feat(module: table): support for header grouping and row template (#2973)
* feat(module:table): header template and item template

* add demos

* fix merge conflict

* rename some api

Co-authored-by: anranruye <hehewewe@hotmail.com>
2023-01-02 20:35:03 +08:00

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();
}
}