Adding none extjs controls to extjs toolbar menu - extjs4

Am trying to add a none extjs element to a toolbar menu items, let's say for example I want to add a jquery ui element to the extjs menu items.
Is this possible or doable?
Thanks

You can wrap the jQuery component as a ExtJS Component and use it inside the toolbar.
This basically involves extending Ext.Component and overriding the render function.
See this components-section-creating-custom-components

Related

React-native custom component renders list items under views of other components

I have created an autocomplete textbox component which basically renders a list of suggestions as the user types. When it is the only component on the screen it works fine but when I try putting it inside a view with another component its view seems to render over the component it is placed alongside. When I put them in separate views the list seems to render under the view below it. I was just wondering if there was a way to render the list above the other views on the screen? Thanks for your help
I suggest you to render a modal on pressing the search view and the modal should contain your textbox for typing and the flatlist below it. The modal will render above all views on your screen. for more help read the documentation.
https://facebook.github.io/react-native/docs/modal

What Bootstrap 4 components work on css only (without Jquery, Tether)

I have previously used bootstrap 3 css only with angular 2 for an application which did not require jquery dependent bootstrap components like modal, carousel etc.
I am now considering using bootstrap 4 with Angular 2 and have looked through bootstrap 4 documentation, but still confused on what components depend on jquery and/or tether.js and what components work if I include css alone. Any help will be appreciated!
Current Alpha (6) has 3 sets of CSS.
bootstrap-reboot - defines only Html standard tags
bootstrap-grid - defines the mobile-firt grid system, e.g. .container & .col-x-x
bootstrap - full version
Generally speaking, the first two above will not require the JS dependencies.
If you want to dig deeper then a quick look at the bootstrap.scss source has the JS dependant items listed separately. Thus, the non-JS dependent components are:
Core CSS
reboot
type
images
code
grid
tables
forms
buttons
Components
transitions
dropdown
button-group
input-group
custom-forms
nav
navbar
card
breadcrumb
pagination
badge
jumbotron
alert
progress
media
list-group
responsive-embed
close
Other
print
Alternately, as of 4.4, the only components that require JavaScript are
Alerts for dismissing
Buttons for toggling states and checkbox/radio functionality
Carousel for all slide behaviors, controls, and indicators
Collapse for toggling visibility of content
Dropdowns for displaying and positioning (also requires Popper.js)
Modals for displaying, positioning, and scroll behavior
Navbar for extending our Collapse plugin to implement responsive behavior
Tooltips and popovers for displaying and positioning (also requires Popper.js)
Scrollspy for scroll behavior and navigation updates

Preventing list items from appearing until YUI3 Tabview loaded

I'm using YUI 3 tabview, and my page appears without tabs very briefly, and then the tabs appear. I found this page:
http://yuilibrary.com/yui/docs/widget/
Hiding Progressively Enhanced Markup
which seems relevant, but I'm not sure how it applies to tabview.
Is there a way to prevent the display of the untabbed list until the tabs are ready?
Thanks very much!
The default style of the tab container could be set to display:none; and on your tab view creation you could then remove the display:none property
You could bind to your tabview render event and set the display on that.

ExtJS 4 / Sencha Touch Container, Component, Element and Panel

What are the relations or differences between Container, Component, Element and Panel?
Please help.
If briefly...
Element is wrapper for DOM element.
Component is basic class for all widgets.
Container is subclass of Component. It can have "items" (i.e. Container can contain other components).
Panel is subclass of Container. It can have header, footer, toolbars, and other docked items.
You can find more info in Layouts & Containers and Components
For Sencha Touch, Container and Panel are currently (as of 2.0 beta) the same except for 3 attributes that are deprecated.
http://docs.sencha.com/touch/2-0/#!/api/Ext.Panel
They are essentially interchangeable. This may change in the future to match up closer to Ext 4.0 where a Panel has footers, headers and toolbars while a container doesn't.

Sencha Touch: How to get a list item template to be non-scrollable?

I have a working Ext.List object in my Sencha Touch application. I'm rendering each item in the list using the List's itemTpl property. I'm noticing that each individual list item can be scrolled in addition to the whole list which is definitely not what I'm after.
Does anyone have any advice on how to get the individual list items not to scroll? I've tried setting the outermost div in the itemTpl template to have a specified height and overflow:hidden...but this does not prevent the scrolling behavior.
Is it the default HTML scrollbar as rendered by the browser, or is it the built-in scroll feature of Sencha Touch (the iScroller which fades in and out)? If it's the latter, try setting the scroll attribute of that ListItem object to false.
If the former, there's obviously a problem with your CSS selector. Could you share your code if it's this one?
Have you tried to set the height of the list-element, so all the content of a single list-item is visible (so you can't scroll anymore)?