Navigation
API > API/Plugins > API/Plugins/TedsTableViewer
References
| Module | TedsTableViewer |
| Header | /Engine/Plugins/Experimental/EditorDataStorageFeatures/Source/TedsTableViewer/Public/TedsTableViewerModel.h |
| Include | #include "TedsTableViewerModel.h" |
Syntax
class FTedsTableViewerModel
Remarks
Model class for the TEDS Table Viewer that can be plugged into any widget that is a UI representation of data in TEDS
Constructors
| Type | Name | Description | |
|---|---|---|---|
FTedsTableViewerModel
(
const TSharedPtr< IQueryStackNode_Row >& RowQueryStack, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddCustomColumn
(
const TSharedRef< FTedsTableViewerColumn >& InColumn |
Add a custom column to display in the table viewer, that doesn't necessarily map to a Teds column. | |
| void | ForEachColumn
(
const TFunctionRef< void(const TSharedRef< FTedsTableViewerColumn >&)>& Delegate |
Execute a delegate for each column in the model. | |
| void | Generate the actual columns to display in the UI using TEDS UI. | ||
| TSharedPtr< FTedsTableViewerColumn > | GetColumn
(
const FName& ColumnName |
Get a specific column that the table viewer is displaying by name. | |
| uint64 | Get the number of columns being displayed. | ||
| IEditorDataStorageProvider * | |||
| const TArray< TableViewerItemPtr > & | GetItems () |
Get the items this table viewer is viewing. | |
| FOnModelChanged & | Delegate when the item list changes. | ||
| uint64 | GetRowCount () |
Get the number of rows currently being observed. | |
| bool | IsRowDisplayable
(
RowHandle InRowHandle |
Check whether a row is allowed to be displayed in the table viewer. | |
| bool | IsRowVisible
(
RowHandle InRowHandle |
Check if the given row is currently visible in the UI. | |
| void | Refresh () |
||
| void | SetColumns
(
const TArray< TWeakObjectPtr< const UScriptStruct > >& InColumns |
Clear the current list of columns being displayed and set it to the given list. | |
| bool | Tick
(
float DeltaTime |
Typedefs
| Name | Description |
|---|---|
| FIsItemVisible | |
| FOnModelChanged |
See Also
STedsTableViewer