Skip to main content
Version: 1.0.4

IDataTableFieldType

@spartanfx/react v1.0.4


@spartanfx/react / IDataTableFieldType

Interface: IDataTableFieldType

Field metadata for DataTable columns This interface contains the essential field properties needed for rendering and field type detection.

Properties

PropertyTypeDescription
AllowMultipleValues?booleanWhether the field allows multiple values (for User, Lookup, and Choice fields)
Choices?string[]Available choices for choice fields
DefaultValue?stringDefault value for the field
Description?stringDescription shown in tooltip
EntityPropertyName?stringThe property name used in OData queries
FieldTypeKind?numberNumeric field type kind enum value Used for switch statements in form field rendering
Filterable?booleanWhether the field is filterable
Group?stringThe field group/category
Hidden?booleanWhether the field is hidden
Id?stringUnique identifier for the field
InternalNamestringInternal field name (used to match with column fieldName)
LookupList?stringFor Lookup fields, the GUID of the list being looked up
LookupWebId?stringFor Lookup fields, the web ID containing the lookup list
ReadOnlyField?booleanWhether the field is read-only
Required?booleanWhether the field is required
RichText?booleanFor SharePoint Note fields, indicates if rich text formatting is enabled
Sortable?booleanWhether the field is sortable
Title?stringDisplay title for the field
TypeAsString?stringField type as string (e.g., 'Text', 'User', 'UserMulti', 'Lookup', 'LookupMulti', 'DateTime', 'Number', 'Currency', 'Note', 'URL', 'Thumbnail') Used to determine the appropriate renderer for the field