0.1.14 • Published 7 years ago

tocco-entity-list v0.1.14

Weekly downloads
46
License
-
Repository
-
Last release
7 years ago

Entity List

List view with configurable search form.

Embedding

React-registry name: entity-list

Inputs

NameMandatoryDescriptionTypeDefault-Value
entityName*Name of the entity that should be listedString
formBase*formBase_list and formBase_search will be the used forms.String
limitAmount of records per pageNumber10
searchFiltersWill be applied to fetch request parameter _filterArray
showSearchFormWhether the search form should be shown or notBoolfalse
preselectedSearchFieldsList of predefined search-valuesArray
disableSimpleSearchIf true the full search form is always visibleBoolfalse
simpleSearchFieldsList of fields, that should be shown with activated simple search. If empty, fulltext search field will be displayed in simple search. Comma-separated string.StringtxtFulltext
showCreateButton(Temporary) Flag to show/hide a create button
selectionStyle"none", "multi" or "single". If not defined and form model selectable is true, "multi" is used. Otherwise no selection is possible.
selectionArray of keys. The whole selection can be preset with this property.
selectOnRowClickIf true, a click on the row (outside the checkbox) toggles the selection of that particular row.
keepStoreIf true the app preserves the store with given id. If the same list gets shown again, the store is recovered.
parentObject with key and reverseRelationName of a parent entity. If set, the result gets filtered to only show related entities.

Events

NamePayloadDescription
onRowClickid (The id of the record)This event is fired when a list row is clicked
navigateToCreate-This event is fired when the "new" button is clicked
onSelectChangeAn array containing the ids of the new selectionThis event is fired when the selection changes
0.1.14

7 years ago

0.1.12

7 years ago

0.1.11

7 years ago

0.1.10

7 years ago

0.1.9

8 years ago

0.1.8

8 years ago

0.1.7

8 years ago

0.1.6

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.2

8 years ago