Interface ITrinityColumn
- Namespace
- AbanoubNassem.Trinity.Components.Interfaces
- Assembly
- AbanoubNassem.Trinity.dll
TrinityTable Column.
public interface ITrinityColumn : ITrinityComponent
- Inherited Members
Properties
ColumnName
The column name in the table.
string ColumnName { get; set; }
Property Value
IsGloballySearchable
Whether the column is globally searched within the table , or should have it's own search input.
bool IsGloballySearchable { get; set; }
Property Value
Methods
Filter(Query, string)
Filters the data in this column according to the specified query and search term.
void Filter(Query query, string search)
Parameters
query
QueryThe query used for filtering.
search
stringThe search term used for filtering.
Format()
How a column is formatted after it is retrieved from the database, but before it is sent to the Trinity front-end.
void Format()
SelectQuery(Query)
How a column is being selected from the database.
void SelectQuery(Query query)
Parameters
query
Querythe query being applied to the database.
SetRecord(IDictionary<string, object?>)
Setting the record after it's retrieved from the database.
void SetRecord(IDictionary<string, object?> record)
Parameters
record
IDictionary<string, object>The record retrieved from the database.
Sort(Query, string)
Sorts the data in this column according to the specified query and sorting direction.
void Sort(Query query, string direction)
Parameters
query
QueryThe query used for sorting.
direction
stringThe sorting direction ("ASC" for ascending, "DESC" for descending).