Page 1 of 1

Resource column does not truncate text if width is set

Posted: Fri Jun 09, 2023 12:59 pm
by emmaback

Hi,

In the scheduler resource column, we are wondering how we would set the text content to truncate if we at the same time want to have width set in the columns config.

We have added css for truncating the text for each row in the column once the splitter is dragged closer to them, which is working without the column width set.

But when we add width: 200 to the column config the truncation looses its effect. Also tested in your example here https://bryntum.com/products/schedulerpro/examples-scheduler/bigdataset-tree/ and saw that it doesn't work there either.

What should we do to have:

  • A width of 250px on the initial load
  • Added truncation to resource names when minimizing the column width

Best regards,
Emma


Re: Resource column does not truncate text if width is set

Posted: Fri Jun 09, 2023 2:32 pm
by tasnim

Hi,

It's a bug. We'll fix it. Here is the ticket to track status https://github.com/bryntum/support/issues/6969

Thank you for your report.

Tasnim


Re: Resource column does not truncate text if width is set

Posted: Fri Jun 09, 2023 2:54 pm
by emmaback

Hello,

Thanks for responding so quickly. Glad to hear, looking forward to a fix!

Best,
Emma