If in my project I need to use external libraries, lets say JQuery, where should I put these libraries in the ExtJS application project directory structure? Is PROJECT/resources/scripts/ OK? Answer For example create a js folder on the same level as ExtJS app folder, and if you put a file script.js here, open your app.json file, locate the part where
Tag: extjs
extjs combo box getCount() on store returns 0
I am trying to get the number of items in the combo box so that I can make the first value by default visible in the combo box using the getCount() method but I see it always return 0 so cannot get the first item to be displayed in the combo box. Code for my combo box is as shown
Why does my layout not extend to the bottom of the window when percentages or floats are used?
When I am using width in percentage or float for a Sencha ExtJS panel, then set the left position and width in scientific notation by Sencha ExtJS, the layout stops before the bottom of the window is reached. See this problem screenshot: I’m using ExtJS with the VB.NET framework on Chrome v52. Can you please provide solution for this problem?
How to disable the inputEl of a textfield in ExtJS?
I am working with ExtJS and I have a textfield component. I would like to disable only the inputEl of a textfield component (not the label). If I use the setDisabled() method of the textfield, then it sets disabled the inputEl but also the label. I have used also the setReadOnly() method, but it does not grey out the inputEl,
how to read extjs data store
I want to read a particular value of an extjs data store and manipulate it locally. Response xml looks like : My store will have just one user entry when response is received and i want to read ‘bname’ value. So far i have tried two approaches and both giving error. approach1: Running above code gives error that ‘Ext.define is
How to completely hide the dockedItems toolbar
I’m able to hide items among the dockedItems of a TabPanel, but am wanting to temporarily hide the entire dock, because the toolbar itself still takes up space and the rest of the content does not fill the screen. So far, I do like so: Alternatively: But neither removes the dockedItems toolbar itself. I’ve even tried to give the dockedItems
How to upload string as file with jQuery or other js framework
Using javascript, I have a file in string (got with ajax request). How to upload it as file to server by another ajax request ? Answer You need to set the Content-type request header to multipart/form-data and play around with the format a little, I wrote this in Plain Ol’ JavaScript ™ but you could easily rework it for a