This is a migrated thread and some comments may be shown as answers.

setOptions after column resize

1 Answer 140 Views
Gantt
This is a migrated thread and some comments may be shown as answers.
Frederic
Top achievements
Rank 1
Veteran
Iron
Frederic asked on 07 Dec 2020, 02:26 PM

Hi, we need to use the setOptions function when we resize the window, to set the new gantt height.

We also use the "resizable" property.

The problem is, after a "column resize", the inner "option" column width is not set to the object.

So, when we use setOptions, the columns size are back to original.

We found a workaround, where we edit the inner option column size property after a "colunnResize" event, but I think that it's a bug and it should be done by the component itself automatically.

https://dojo.telerik.com/@foxontherock/uCulUjiy/6

I also tried to keep the "listWidth" by binding the "resize" event of the inner splitbar, but I think it's not a kendo splitter, but a custom spliter made just for the gantt, and it doesn't work.

1 Answer, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 09 Dec 2020, 02:02 PM

Hello, Frederic,

Indeed, there's no functionality, where the editor sets these dimensions in the options when the columns are resized. However, this is not a bug, but rather something with which we didn't see the immediate benefit. The options represent the settings that are used in the initialization of the widget. 

That said, I would suggest logging this as a feature request in our feedback portal below, in order to get traction and eventually enter our backlog for implementation.

https://feedback.telerik.com/kendo-jquery-ui

Regards,
Nencho
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Gantt
Asked by
Frederic
Top achievements
Rank 1
Veteran
Iron
Answers by
Nencho
Telerik team
Share this question
or