Open Antikon opened 4 years ago
sure, why not.
Overriding the current title will be good. But I still insist on the ability to show or hide individual elements of the interface, regardless of how they are configured in the model.
For example, we can define filters in a model in ngRestFilters()
. However, the issue of displaying or hiding filters on a page is a matter of View. We can use the same model in different controllers on different pages. And in one case, we will need to display filters, but in the other not.
Currently, in fact, we can control the appearance of CRUD list table in a one way: we can call
actionIndex
in controller with$inline = true
. And this will hide header. That's all.I suggest adding to
actionIndex
$interface
parameter that will contain an array responsible for on/off switching of various elements of the CRUD list table.