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

scrollable: false causes JS error

1 Answer 52 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
Clinton Smyth
Top achievements
Rank 1
Clinton Smyth asked on 09 May 2019, 07:51 PM

Hi

Please see: https://dojo.telerik.com/ExUkomIP

This is one of your demo's with simply adding scrollable: false.

Uncaught TypeError: Cannot read property 'appendChild' of undefined
    at i.appendTo (kendo.all.js:11776)
    at i.render (kendo.all.js:11782)
    at d.render (kendo.all.js:11968)
    at init._renderCols (kendo.all.js:120098)
    at init._layout (kendo.all.js:119753)
    at new init (kendo.all.js:118322)
    at HTMLDivElement.<anonymous> (kendo.all.js:2448)
    at Function.each (jquery.min.js:2)
    at n.fn.init.each (jquery.min.js:2)
    at n.fn.init.e.fn.(runner.telerik.io/anonymous function) [as kendoTreeList] (https://kendo.cdn.telerik.com/2019.1.220/js/kendo.all.min.js:26:4956)

 

We need the tree list without a scroll bar as it is causing alignment problems. The alignment is fine until scrolling right to the bottom.

Is there a workaround if this is not immediately fixable?

Please help.

 

 

1 Answer, 1 is accepted

Sort by
0
Alex Hajigeorgieva
Telerik team
answered on 13 May 2019, 09:43 AM
Hello, Clinton,

It is a requirement for the The Kendo UI TreeList with locked columns to be scrollable. The treelist has the same requirements as the grid and this is the first one - to enable scrolling:

https://docs.telerik.com/kendo-ui/controls/data-management/grid/columns/locked-columns

I am not able to reproduce the misalignment in the provided Dojo and did not find any known issues logged  in our repository. Could you let me know the steps to take so I can reproduce it? and look for a workaround and log a bug so we can fix is in a future release?

Kind Regards,
Alex Hajigeorgieva
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
TreeList
Asked by
Clinton Smyth
Top achievements
Rank 1
Answers by
Alex Hajigeorgieva
Telerik team
Share this question
or