extjs6 | Extjs6 文档 | Reactive Programming library
kandi X-RAY | extjs6 Summary
kandi X-RAY | extjs6 Summary
Extjs6 文档
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of extjs6
extjs6 Key Features
extjs6 Examples and Code Snippets
Community Discussions
Trending Discussions on extjs6
QUESTION
Using ExtJS7.x with the modern toolkit.
For various reasons, I'm trying to data-bind the titles of panels in a TabPanel, this seems to work fine, if not for a single caveat. The binding only applies as soon as the tab becomes active. Trawling around the official forums I found that this was previously marked as a bug in ExtJS6 years ago, and was reported as being fixed. And yet I still run into similar behavior in 7.
Basic overview of what I'm trying to do:
...ANSWER
Answered 2021-Feb-19 at 14:34Try to use tab config property to bind the title, something like this:
QUESTION
I have a problem with passing a form to an ExtJS6 AJAX request. The docs state:
form : Ext.dom.Element / HTMLElement / String
The form Element or the id of the form to pull parameters from.
Scope is not the problem, this references to Ext.form.Panel
My code is:
...ANSWER
Answered 2020-May-21 at 18:55Ext.form.Panel does not contain form-tag. This feature is used in case of real html forms. Have a look the request of the following example: fiddle
QUESTION
I m trying to implements a stack extjs 6 with spring boot.
I want extjs6 and spring boot in two separated project in intelliJ. (front-end and back-end)
Until now, i m able to point static content to the folder where the extjs6 project is.
My folders structures is :
...ANSWER
Answered 2017-Jun-10 at 08:01In order to achieve this, you have to modify some Ant property files of your project. Those are used to run the Sencha Cmd build.
Open the file /.sencha/defaults.properties
Here you will find something like:
app.out.css.rel=${app.output.resources.path}/${app.out.css.name}
This value is used to generate the path to the css files in the manifest json file. After changing it to something like this, Sencha Cmd still generates the files in the same location but load it from another.
app.out.css.rel=/static/front-office/${app.output.resources.path}/${app.out.css.name}
If you just want to apply this to a specific kind of build like production only, than you have to put this value in the corresponding Ant properties file /.sencha/[production|testing|...].properties
QUESTION
I have an EXTJS6.5 application. I want to use variables in my index.html that come from a properties file. However the change of the values of these variables should not require a new build of the application. This means that the variable can be changed if required (Without the need to build the extjs code).
Can someone please help with this?
I have already gone thru other threads where index.html can have placeholders, but do not seem to have a concrete example.
This is my properties file (Runtime.js)
...ANSWER
Answered 2019-Jul-17 at 14:50Given Runtime.js
file has a syntax error. Is not valid javascript file.
Runtime.js
should be:
QUESTION
I'm having difficulties retrieving my input values through Extjs6's references. There doesn't seem to be a clear cut answer and google is polluted with answers that seem distinct to many different Extjs versions.
I have a window which contains a textfield and a save button, from the textfield I need to retrieve the user's input and pass it along to my ajax call.
My code:
...ANSWER
Answered 2019-Jun-28 at 13:38this.lookupReference('newPassword')
- This refers to current object and handler dont have any component to lookup.win.values
- doesnt make any sense unless you have created a config in win.win.getValues()
- again doesnt make any sense unless you have create a method in win.win.newPassword
- again same.Ext.getCmp('newPassword')
- getCmp works with id, not with reference.
To get the reference of password field you can lookup on win
object,
QUESTION
How do I databind my extjs6 grid to include "commission" using the following format I created from webapi ef?
grid columns should look like this.
...ANSWER
Answered 2019-Jan-30 at 16:41Best approach is to define a store in viewmodel, and bind it's data field directly to the details commision field using the mustache syntax.
QUESTION
In my extjs6 project I have a contextmenu button that I launch a modal popup window with a grid inside. I tried to create it so it only creates the component once, and that window isn't created everytime I click the contextmenu item but I am doing something wrong.
It works the first time, but when I click it the second time I get an error CANNOT READ PROPERTY 'viewModel' of null.
Can someone see what I am doing wrong?
the error appears when I get to this.tempWindow.show()
VIEW, window is popup window, grid is where the itemcontext menu is located
...ANSWER
Answered 2018-Nov-14 at 16:58Try put viewModel and controler atributes properly configured with your controller and viewModel.
QUESTION
In my extjs6 project I have a grid, I want to add functionality to right click on grid, pick item from menu bar and launch pop up window, but passing row selection through to click method.
So far I have the right click menu bar working, but when clicking on menu item I want to pass through selected row from grid. Can someone help me pass grid row selection to controller method?
my view
...ANSWER
Answered 2018-Nov-13 at 20:43To solve the problem, change the block this.getContextMenu2() to this.getContextMenu2(rec)
QUESTION
In my extjs6 project I have this long running method. Starting with a loaded store, it groups by 'instrument', then creates an array with each item of that 'instrument', then creates a new store with only that data, then creates a series for a extjs chart, and adds the series to the chart.
there is a ton of data with about 100 instruments and a daily number for 2-3 years of data for each instrument. the process takes a long time and I want to update the mask window to say which instrument is being updated so the user can see what is going on.
How can I update the mask message in the middle of this long running method?
...ANSWER
Answered 2018-Aug-22 at 15:35Take a look at these two ways to present the progress to the user:
Here is the FIDDLE
QUESTION
In my extjs6 project, in the current page I have a column layout. Inside column 2 I have a chart. How can I make the chart fill that column in height and width? Everything I try is not working.
Below is my view, column 1 has small components so no need to expand contents. I've tried 'fit' height '100%', nothing seems to work properly. also, I am populating the chart AFTER the view is created. not sure if that matters
...ANSWER
Answered 2018-Aug-22 at 13:29Just set the column layout to fit, it should work:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install extjs6
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page