I use in my application sencha GXT 3 (Version 3.1.0). I want to display many items (widgets) horizontally. For this, I use HboxLayoutContainer. I have 14 widgets to display. The first 10 widgets are displayed correctly. The 4 widgets remaning are not displayed and the container display a dropdown button (Overflow case). With this button I can't see those 4 items. Can you help me to resolve this problem ?
Sencha GXT3 : Horizontal Layout Container with Scrolling
114 Views Asked by Nabil CHERQAOUI At
1
There are 1 best solutions below
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 GXT
- Getting the error while updating GWT 2.5.1 to 2.11.0 and sencha GXT 3.1.1 to 4.1
- Getting the error while updating GWT 2.5.1 to 2.9.0 and sencha GXT 3.1.1 to 4.1
- Issues while upgrading GXT 2.3.1a to 4.1.0
- Hide sprites out of GXT Chart area
- GWT screen loads in Firefox but not in Chrome
- Classes not found while upgrading GXT 2.3.1a to 4.1.0
- GWT Asynchronous Wait for Callback
- jreLeakPrevention.gcDaemonFail getting this error while creating Example GXT project
- GWT / GXT ClassCastException
- How to re-render the Panel in GWT on the change of some field?
- Sencha GXT4 : How to display text inside a pie chart?
- GXT 2.X to 4.0.2 migration issues
- Element in com.google.gwt.user.client has been deprecated
- Getting GWT RPC Serialization Error while populating liststore of ComboBox
- Your src appears not to live underneath a subpackage called 'client',but you'll need to use the <src> directive in your module to make it accessible
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)
Popular # Hahtags
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?
The HBoxLayoutContainer is very specific on what is available in the overflow menu. It needs to know how to convert each item into a MenuItem. It'll have to be renderable and handle the appropriate select/click events.
What this means is that not every Widget added in the HBoxLayoutContainer is going to be compatible as an overflow MenuItem. For example, you wouldn't be able to (easily) convert a Grid into a single MenuItem; at least not in an abstract "widget library" way.
If you open up HBoxLayoutContainer and inspect the addWidgetToMenu, you'll get a better sense of which types are supported by default. From my copy (4.0.0 - but probably not too different from 3.x), I see:
All of which are GXT components.
Not all is lost though. Since the method is protected, it should be fairly straightforward to subclass and override this method to handle any Widget of your choice.