Autoscan on the parent panel when overflowing child panels. Extjs

I have one parent panel in which there are two child panels. One has content dynamically created, and the other has a fixed height and width. The Parent panel uses a border layout, with defined central and eastern regions. I try to start autoscrolling in the parent panel when an overflow occurs in the panel of the central area. I set the autoscroll parameter to true for the parent panel, but every time an overflow occurs in the central panel, it just turns off. When I add an overflow panel to the center, I get a scrollbar for that panel only. I do not need this, but I want it to be on the entire parent panel. Let me know if anyone has any suggestions.

+3
source share
2 answers

This problem usually occurs due to overflow of panels and / or one or several panels in the layout that do not have a specified parameter layout. Some layout configuration code will help.

+1
source

Here is my view from what I understood .. You have two panels that go into the center of the border layout area .. and you need a scroll bar for the center when one of the panels overflows.

. autoScroll, true. , . - ( ), - ( ) - . - , autoScroll, , !

, . , ( , !).

. ( ). .

0

Source: https://habr.com/ru/post/1790987/


All Articles