cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Issue with styling of date attribute in backoffice?

Former Member
0 Likes
615

We had to change the format of the date details displayed in backoffice for orders.

And after changing the format using a renderer for it, the text box is not completely displayed.

Tried changing the style by creating a custom backoffice.scss and css.

Attached the screenshot of how it looks in backoffice.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

I had the same issue when a simple ZK Datebox had to be rendered in a backoffice widget. I solved it by setting the style attribute of the ZK Datebox like this:

 datebox.setStyle("display: table; position: relative; width: 90%");

Answers (2)

Answers (2)

Former Member
0 Likes

Hi Naga,

As you say you can change backoffice style by using custom .css or .scss files. Here is a tutorial on how to do it. Your custom files need to be hooked up to 'backoffice.cockpitng.overridewidgetsandeditors.css' in the project.properties file.

Best regards,

Former Member
0 Likes

Thank you