List
List is a complex component, it contains data display with filtering option. The main section is a table. The table allows to display data, to edit it quickly when doubleclicking, it can also sort the data. Above the table itself there is a filtering section where individual records can be filtered using even more criteria. There is also an option to save the favorite filter, it can then be displayed using another component: the FavoriteList
.
Usage
import { List } from 'react-adminer';
<List entityName={entityName} />
The list component can be implemented as described above, requiring the entityName input parameter, which is again the name of an entity in the schema.
Example
<List entityName="car" />
This is a practical example for displaying data for the entity car.
Last updated