Events
Base event
Every event inherits from the base event, so these properties and methods are always available
Properties:
Sender: The sender of the event.
Type:
TSender
IsCanceled: Indicates whether the event is canceled.
Type:
bool
Table: The table configuration related to the event.
Type:
TableConfig
Methods:
SetCancelled
Parameters:
canceled
: A boolean value to set the cancellation state.
Returns:
void
DeleteEntryEvent
Event arguments for a delete entry event.
Properties:
Entity: The entity being deleted.
Type:
object
CreateEntryEvent
Event arguments for a create entry event.
UpdateEntryEvent
Event arguments for an update entry event.
Properties:
Entity: The entity being updated.
Type:
object
SelectEntryEvent
Event arguments for a select entry event.
Properties:
Entity: The entity being selected.
Type:
object
Selected: Indicates whether the entity is selected.
Type:
bool
PageChangeEvent
Event arguments for a page change event.
Properties:
CurrentPage: The current page number.
Type:
int
TotalPages: The total number of pages.
Type:
int
NewPage: The new page number to navigate to.
Type:
int
ReloadEvent
Event arguments for a reload event.
SearchEvent
Event arguments for a search event.
Properties:
SearchTerm: The search term used.
Type:
string
CurrentPage: The current page number.
Type:
int
SearchResult: The search results.
Type:
IEnumerable<object>?
TotalPages: The total number of pages of search results.
Type:
int
Methods:
SetSearchResult
Parameters:
result
: The current page of search results.totalPages
: The total pages of search results.
Returns:
void
TableInitializedEvent
Event arguments for a table initialization event.
Properties:
PluginButtons: The list of plugin buttons for the table.
Type:
List<PluginButton>
DefaultButtons: The default button toggles for the table.
Type:
DefaultButtonToggles
Methods:
AddPageButton
Parameters:
title
: The title of the button.callback
: The callback function for the button.pushRight
: Indicates whether to push the button to the right. (default:false
)icon
: The icon for the button. (default:null
)
Returns:
void
AddEntityButton
Parameters:
icon
: The icon for the button.callback
: The callback function for the button.
Returns:
void
ValidationEvent
Event arguments for a validation event.
Properties:
Errors: The list of validation errors.
Type:
IList<string>
Property: The property being validated.
Type:
PropertyConfig