ted
asked on 29 Jul 2022, 11:52 AM
| edited on 29 Jul 2022, 05:45 PM
I'm rendering Kendo Treelist inside of a Kendo Window. Is there a good way to resize height and weight of treelist based on window's height and width?
Thanks
1 Answer, 1 is accepted
0
Konstantin Dikov
Telerik team
answered on 30 Jul 2022, 08:35 AM
Hello Ted,
You can set the TreeList width and height to be "100%" and the overflow to be "auto" and it will fill the size of the Window accordingly. Here is an example with that configuration:
I have added a wrapping div just to demonstrate that the TreeList changes its dimensions based on the Window size. Here is an example without the wrapping div: