Configuration Files
FieldConfiguration for DataTable
table
object, requiredname
stringupdate
(object)mutationName
stringmutationTable
stringwhere
fields
object, contains field objects{field_object}
label
string, if not provided DataTable will default to "Unknown"labelStyle
optional, style classtype
options are "date", "boolean" or "string". if not provided, data table defaults to "string"emptyValue
if not provided, data table defaults to "None"placeholder
string, what should the field have as a placeholdereditable
Boolean, if not provided defaults to Truemultiline
booleanmultiline
rowsnullable
Boolean, false if field cannot be set to empty stringerrorMessage
string, optionalwidthsmallandlarger
int, sets<Grid sm=widthSmallAndLarger>
, if not provided, defaults to 6dependent field
if theres a field that needs to be updated along with current fieldoptions
DataTable comment says this must exist for select field if no lookup object providedlookup
(object) used for select input fieldstable
name of table used in lookup queryfieldlabel
needed for lookup table queryfieldvalue
needed for lookup table queryrelationship
if not provided, relationship defaults to ""style
format
function to format data for display
Last updated