Skip to main content

Audit

value

Container properties

All component configurations support Container properties at the first level.

Component properties

NameTypeDefaultSupports Variable PatternDescription
classNamestring✔️The className of the component
styleobjectThe style of the component
formEntityDataIdnumber✔️When the rowData property is not provided, the table will send a request to obtain data from this formEntityDataId
dataUrlstring/form/api/form-entity-data-audit/list-group/${formEntityDataId}✔️When the rowData attribute is not provided, the table will send a request to obtain data from this dataUrl
dataUrlResolveMode'strict' | 'loose' | 'smart''strict'Controls request behavior when :variable resolution fails in dataUrl. strict: no request if any variable fails; loose: failed variables become empty strings, request proceeds; smart: path variable failure blocks request, query variable failure removes that parameter and proceeds.
translateDataResponseboolfalseIs the translation request result required
sortModelArray<SortModel>How to sort data
rowDataArray<object>ag-grid table data

All remaining componentsProps will be passed to the component root element (Table)。

SortModel

NameTypeDefaultDescription
colIdstringSort field id
sort'asc' | 'desc''asc'Order in descending order
sortType'text' | 'number' | 'date''text'What type of values are sorted

JS API

The interface obtained through formApi.getFieldApi() is as follows:

NameTypeDescription
nodeHTML ElementThe root DOM element of the component
gridApiobjectAg-Grid's API interface, official document