...
typeGadget: 'withWizard' It will show the complete wizard as in the image above to be able to perform searches in the entity by defining clauses for the where, order by a maximum of values and an offset. This type is more intended for use by a role type administrator, who has technical knowledge to know what a where is, etc.
typeGadget: ‘searchOnly’ It will partially show the wizard to be able to search in the entity, defining only clauses for the where this . This type is more intended to be used by a user, role which needs to specify filters in the data queries.
...
typeGadget: ‘noWizard’ with this option, the wizard is not displayed, in . In this case the template is intended for use by an end user, providing them with a simple tool to be able to manipulate and query data from their entities.
...
hideIdColumn: It is also possible to indicate, in the template parameters, if we you prefer to show the column with the ids or notwithout them.
hideIdColumn: false, // show or hide id column
...
Template elements
...
Entity selector, on which the CRUD operations will be performed.
...
Form to add elements to the where in the query.
...
Form to add items to the query orderquery’s ordering.
...
Searcher for table records.
...
Button that allows you to download the records in csv or json format, . It gives the option of downloading all the records of the entity or only the selected ones if a previous search has been made from the wizard.
...
The gadget allows defining a parameter by url URL to take it as the initial entity. With this, it is achieved we manage that another entity cannot be selected from when the moment the dashboard is accessed.
...
How to add it to
...
your dashboards?
First of all, create a dashboard will be created using the initial configuration and the internationalization that is provided from this version of the platform for these gadgets.
...
In the dashboard editing screen, we will press the icon:
...
And we will drag the Custom gadget element on our your dashboard:
...
We will select Select the type of gadget we want to add:
...
We will click Click on New Gadget:
...
We will assign Assign an identifier and a description to the custom gadget to be able to locate it and use it on other occasions.
Being parameterized in this screen we , you can select the options explained above, as if we you want it to only access an entity, the type of wizard to show or show or not the column of ids.
...
Once created, to reuse it, we you just have to select the type and the newly created instance of the custom gadget and press ADD GADGET.
...