Configuration Files
FieldConfiguration for DataTable
tableobject, requirednamestringupdate(object)mutationNamestringmutationTablestringwhere
fieldsobject, contains field objects{field_object}labelstring, if not provided DataTable will default to "Unknown"labelStyleoptional, style classtypeoptions are "date", "boolean" or "string". if not provided, data table defaults to "string"emptyValueif not provided, data table defaults to "None"placeholderstring, what should the field have as a placeholdereditableBoolean, if not provided defaults to TruemultilinebooleanmultilinerowsnullableBoolean, false if field cannot be set to empty stringerrorMessagestring, optionalwidthsmallandlargerint, sets<Grid sm=widthSmallAndLarger>, if not provided, defaults to 6dependent fieldif theres a field that needs to be updated along with current fieldoptionsDataTable comment says this must exist for select field if no lookup object providedlookup(object) used for select input fieldstablename of table used in lookup queryfieldlabelneeded for lookup table queryfieldvalueneeded for lookup table queryrelationshipif not provided, relationship defaults to ""styleformatfunction to format data for display
Last updated
Was this helpful?