Detail Styles Css

Hello Community! Is posible apply css style to a specifict column un a detail? Example change the border to red in the field cell.


Like 0



Hello Federico,

1. You need to create a new module. 
In my example, I named it as UsrAccountContactsDetailV2Css. Then you need to navigate to the LESS tab and write your custom styles. In my example it was:
div#grid-AccountContactsDetailV2DataGridGrid-wrap > div>div:nth-child(2){
    border-color: red;
    border-style: solid;
    border-width: 1px;

Leave the source code for the module empty. Please, see my screenshot -

2. Create a replacing module for your schema detail and add the created earlier module as a dependency.
Please, see my example -

As a result,  AccountContactsDetailV2 detail looks in the following way -

Show all comments