I'm having a single Parent Panel, which has 2 child panels. One has content dynamically created, while the other is fixed height and width. The Parent panel is using border layout, with center and east regions defined. I'm trying to get autoscroll to trigger on the parent panel when there is an overflow on on the center region panel. I've set the autoscroll option to true to the parent panel, but everytime there is an overflow on the center panel, it just gets cuts off. When I'm adding an overflow to center region panel, i get a scrollbar for that panel alone. I don't need that, but rather I want it on the entire Parent Panel. Let me know if anyone has any suggestions..
Autoscroll on parent panel, when there is overflow on child panels.Extjs
2.3k views Asked by Ashwin AtThere are 2 answers
Abdel Raoof Olakara
On
Here is my view from what I understood.. You have two panels that go into the center region of the border layout.. and you need a scroll bar for the center when one of the panels overflow.
Here is how I worked out a similar situation. In my center region, I have a panel with autoScroll set to true. I have two panels added to this panel. The first is fixed height (its a grid) and second is panel (displayed below the grid) is a large form panel. Due to the parent panel having a autoScroll property set, you will have a scroll bar for the entire panel and not the second panel alone!
I don't think you can use fit layout. In fit layout, the panel will take up the whole area of its container and you will not be able to add another panel (the second panel will be hidden I suppose!).
Note: I am using the default layout (Container Layout) I do not specify any layout in my parent panel.
Related Questions in LAYOUT
- Why does my ViewPager not show anything when i add a scrollview?
- Is it possible to set height value so that it is both inheritable and acts as min-height?
- Background image not rendering under AppBar with React Material-UI
- HBox doesn't fill parent GridPane when rotated by 90 degrees
- issue when trying to use trained layoutlmv3
- Does anyone know how to make iPad layout the same as iPhone's? Size wise the text and overall layout get's smaller when I run the app on the iPad
- How can I place near (vertically) two TextView?
- SplitView elements both in horizontally and vertically in qml
- Splitview inside a Layout in QML is not working properly
- How do I fix fragment overlaping with main_activity fragment in Kotlin
- Why are my Buttons overlapping in QML ColumnLayout?
- How to make a face using Constraint Layout?
- Preventing SwiftUI Frame Size Changes from Affecting Window Size in a macOS App
- React-layout dynamic content?
- Can I scale layout to a smaller screen?
Related Questions in EXTJS
- how to define Ext.elevateFunction
- `ariaAttributes` config is not working in ExtJS modern toolkit
- Ext JS Issue With Window.id when more than 1 instance of Ext sandbox version is bundled
- sencha extjs remove approach and use .sync() is not calling API
- Extjs - get SVG image element by ID inside qtip
- Use custom icon in Pimcore menu item
- Extjs 7.0 Classic Mymask Message is loading and will disappear but only one user is not closing when screen renders
- ExtJs - what install on server
- Problem with building my app with ExtJS CE
- Ext.js Cannot read properties of undefined (reading 'controller')
- Get class name by xtype
- ExtJs: find a record, edit and post changes
- Is it possible to use custom variables in an extjs store?
- How to add an authentication header in sencha architect, using the store option?
- Ext JS: vulnerabilities with CSP headers
Related Questions in PANEL
- Short links web panel
- Can't use panel with transformation as source panel
- Binding Panel DatetimeRangePicker to plot
- Is there a way to create a dashboard in Jupyter Notebook using Python, with graphs that are interactive and other graphs that are static?
- Grafana cell inspect button flickers and cannot be used
- "panel3" not found in same unit-SOLVED
- Form docks in Panel only on second try
- How to asess the importance of variables in a logit-transformed model
- How to estimate alpha and beta for beta-distribution in to run pglm regression
- CSS sliding panel visible by default, sliding on mouseout/mouseover
- Creating a new row in a longitudinal dataset
- How to do nested and non-nested panel model comparisons?
- Error message in Panel Smooth Transition Regression (PSTR) model
- Place dynamically created controls in a 2 or 3 column display
- Make ASP.NET panel width the same as aspx page width
Related Questions in BORDER
- How do I add visual border, from image, that is flexible and scalable?
- set some custom csss styles in Leadpages
- I have some picture box and I don't want my main character to touch it like to stop moving
- How to prevent overflowing border creating a horizontal scroll bar?
- Node border width control in Netgraph
- create a consistent border with CSS border-image
- Remove specific border inside a table
- is there a way to make the hover function fill space follow border lines below its block element
- Why does adding a border to a parent div change its size to contain the margin of its children but not when it doesn't have border?
- Border-Top on only second nav ul li
- decorative two-colored border (css)
- Hi, I am not able to see the CSS effect on the web browse to HTML file using Visual code. I can run HTML file in chrome and can see login page
- SWT button has border by default
- Having trouble applying border images
- Border radius to create curved div
Related Questions in AUTOSCROLL
- How to make a list view with automatic scrolling?
- Scroll results to top after button click
- How to automatically scroll (autoscroll) a list of images contained in a list with tkinter
- How to prevent firefox from keep loading new content while scrolling to the page bottom
- Auto scroll UITableview (with header section) when I clicked collectionview cell index
- in Flutter/Dart, is there a way of creating a List that has list items of varying height and starts from a specified item
- I have a chatbot which generates answers, I need an auto-scroll function for it
- Airtable Iframe autoscroll on load
- Autoscrolling LazyRow issue
- Scrolling Issue in UITextview in iOS - Glitch and Auto-Scroll Behavior
- Is it possible to loop scroll content embedded through iframe?
- Resizeable scrollable TableLayoutPanel in Winforms
- Reactjs Auto Scroll: How to improve the performance of auto scroll when there are many records (500 or more)
- JavaFx 8 ListView vs JavaFx 20 ListView autoscrolling behaviour?
- Auto Scroll is not working in react even after adding eventListener
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
This issue is usually a result of over-nesting Panels, and/or one or more Panels in the layout not having a
layoutconfig specified. Some layout configuration code would help.