Entity dedicated CSS

Put your suggestions here.
Post Reply
Benno812
Posts: 132
Joined: 30 Oct 2019, 02:38
Name: Benedetto Fiorentini
Location: Rome, Italy

Entity dedicated CSS

Post by Benno812 »

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.
Screenshot_17.png
yaoying
Posts: 133
Joined: 10 Apr 2023, 23:23
Name: 耀影
Location: 深圳
Company Name: 深圳市耀影科技有限公司
Contact:

Re: Entity dedicated CSS

Post by yaoying »

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.
Attachments
截图_选择区域_20230619114803.png
截图_选择区域_20230619114813.png
Post Reply