Datagrid 2 widget custom content overflow issue

0
Hi Experts,    When I upgraded the Data Widgets module to v2.20.0, the custom content overflowed when the column was adjusted to a smaller size, as shown in the image below.     maybe you have some idea how to solve this issue.       Thanks , Dale
asked
1 answers
0

Hey Dela, 

Try this css , both cases are for text that overflowed, you will not need text-overflow 

.custom-overflow > .table > .table-content > .tr > .td > .td-custom-content{
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

and if that css don't help you, you need create one more class for DatePicker widget e.g. this what i did for tooltip widget

.tooltipdatagrid2 > .mx-dataview-content >.widget-tooltip>.widget-tooltip-trigger {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

Best regards, Slavko

answered