Navigation
API > API/Runtime > API/Runtime/TypedElementFramework > API/Runtime/TypedElementFramework/IUiProvider
Description
Generation
Widget constructors can provide a custom searcher object that will allow Slate columns to convert Column data to an FString that the searcher supports. If none is provided however, TEDS UI will generate one based on the properties in a column that are marked with the meta data "Searchable". Out of the box TEDS UI supports string property types (FName, FString, FText), but additional properties can be registered with the functions below as well. Note that this is mechanic is exclusively for properties that are used in the dynamic generation of searchers. For complex searching that involves data specific knowledge or combines multiple values it's highly recommended to create a custom searcher and attach it to the appropriate widget constructor. Build searchers for the provided list of columns
| Name | GeneratePropertySearchers |
| Type | function |
| Header File | /Engine/Source/Runtime/TypedElementFramework/Public/Elements/Interfaces/TypedElementDataStorageUiInterface.h |
| Include Path | #include "Elements/Interfaces/TypedElementDataStorageUiInterface.h" |
void GeneratePropertySearchers
(
TArray < TSharedPtr < const FColumnSearcherInterface > > & Results,
TArrayView < TWeakObjectPtr < const UScriptStruct > > Columns
) const