Hi Sergey,
i was thinking about adding a custom CSS for single entities in the entity configuration. So it will not affect other entities.
I think this can be useful to customize the entities.
For example now i'm using the text model field to add css. In this way i can hide some elements like the LIST VIEW (i want my user to use only the grid view), or customize the size and color of some elements in the records.
The problem in using the text model field is that the css is reapeated for each record when in grid/list view. So if i have 1000 records it will heavily affect the page load.
This is an example of my projects entity. The grid view was heavily customized with css and is completely different from other entities grid view.
Entity dedicated CSS
-
- Posts: 133
- Joined: 10 Apr 2023, 23:23
- Name: 耀影
- Location: 深圳
- Company Name: 深圳市耀影科技有限公司
- Contact:
Re: Entity dedicated CSS
Provide a custom view for an entity view, the default view.
You can add custom CSS, JS, etc. to customize it in the default view model. This allows different entities to have different form views.
You can add custom CSS, JS, etc. to customize it in the default view model. This allows different entities to have different form views.