Questions tagged [extjs]
Sencha Ext JS is a JavaScript framework for building rich Internet applications (RIAs).
24,822
questions
0
votes
1
answer
13
views
How to add background-color for particular column in Grid using ext-js
I am trying to add background color for 2 column in grid table how can i do that?
Is there any property that I can configure?
Here I have created 2 tables and attached to one.
Please find my code ...
0
votes
0
answers
11
views
EXTJS Piecharts are not showing legend for dynamic data
Hello I have 2 pie charts one with static data and one with dynamic. The static piechart shows the legend however the dynamic one doesnt. Its the same code for both one. Both have the same fields from ...
0
votes
1
answer
12
views
Adding background color to textfiled which is readOnly to particular column form table in ext-js
I am trying to add background color for 2 column in grid table. How can I do that?
I am aware of ExtJS 4 - How to add background colors to columns of a grid? , but I am looking for a specific property ...
1
vote
2
answers
533
views
Extjs Stacked Bar Chart Numeric Axes schould be lazy
I've got a problem with my bar chart. I am displaying a bar chart that should behave like a Percentage bar chart. It all works fine, except the fact, that when my Percentage value is at 55 %, the x ...
0
votes
1
answer
171
views
Extjs 7 Community Edition. Cannot install ext-gen
I am able to log into the sencha NPM repo using:
npm login --registry=https://sencha.myget.org/F/community/npm/ --scope=@sencha
It says:
Logged in as stevemc to scope @sencha on https://sencha.myget....
10
votes
2
answers
6k
views
Getting the active element within ExtJS?
Im trying to get the component that is active/focused at a given time. I already know that you can get a HTMLElement with the cross-browser javascript function document.activeElement.
How can I cast ...
3
votes
2
answers
3k
views
In ExtJs, how to insert a fixed string at caret position in a TextArea?
This question probably is asked in other framework, not sure if there is one on ExtJs, which I am new to. I wonder whether there is a simple example with a TextArea and a button. When the button is ...
0
votes
1
answer
23
views
How to return icon in row cell after API response in ExtJs
I've been trying to return an alert icon in every row cell where the api response's log level is 0 but I only end up with a [object Promise] instead of the icon itself.
I log the data.logLevel and it ...
0
votes
1
answer
36
views
How can I fill text area in Javascript or Sencha(ExtJs)?
I have a text area and a grid. I want the text area to fill when I click on the grid's row. I tried something like below but I can't run it.
try {
var criteriaList = [];
var XThis = this;
var ...
1
vote
2
answers
83
views
How to hide button icon on load in Sencha conditionally
I don't have much experience with Sencha, but I have to make an icon of a button ("alert", with no handler) in a grid show or hide conditionally for every row, depending on a value that I ...
0
votes
1
answer
24
views
renderTpl() intricacies
The Ext.Component "renderTpl" property default value is:
'{%this.renderContent(out,values)%}'
Where can I find a detailed explanation about that mechanism?
Where is that "renderContent&...
1
vote
1
answer
141
views
ExtJS 4 - implementing the User Extensions/Plug in of others?
I am creating a web application and I planned on implementing a password strength meter in it. There are a lot of examples such as this, however, I am having a difficult time implementing the solution ...
0
votes
1
answer
36
views
ExtJS ,issues with Ext.window.Window when called over other views
I Have defined a window class with width and height with border layout. It is working fine when displayed but when I call this window class to other view it is taking it's own size and when layout ...
0
votes
1
answer
31
views
How to make dynamic combobox in ExtJS or Javascript?
I have a combobox include true, false and all stuation on ExtJS. If I choose true on combobox send 1 to API and I choose false on combobox send 2,3 etc. to API. My code run static like below :
try {
...
3
votes
1
answer
4k
views
ExtJS - Save the state of ExtJS component in database
Do you have any Idea how to save the state (width, collapsible, ...) of a ExtJS component in database, not in cookies.
Thank you.
5
votes
3
answers
1k
views
How to set tooltip for treelist in ExtJS?
I'm developing an ExtJs application.
I want to use a treelist as follow:
{
xtype: 'treelist',
bind: '{navimgation}',
...
}
My navimgation in my model is as follow:
navimgation: {
...
0
votes
1
answer
21
views
how to prevent click or selection on node in tree list extjs 7.1 modern
I want to prevent click or select event on some treelist node so user can not click or select that particular node. I have tried disabled property but it's not working in modern and I'm using version ...
-1
votes
0
answers
22
views
I'm new to Ext js And please help me Thanks in advance
conversationNum: function(values) {
return values.conversations.split(',').length;
},
isUnSeen: function(values) {
var unSeen = !...
0
votes
1
answer
43
views
How to add Image inside a textbox in ext-js
I have created a textbox using below code. I want one search image inside this textbox How can we get that?
So Basically I have created one Table with Footer so I want there one textbox inside the ...
0
votes
0
answers
25
views
Icon class does not apply to a ExtJS menu item containing text field
In an ExtJS 6 classic mode application I am trying to configure a menu having both regular items and items with input fields. The idea is to let the user click normal item and then display an item ...
0
votes
1
answer
22
views
When using ExtJS Theming System, Why do I need to run sencha app build while Running sencha app watch?
I noticed that updating scss files while sencha app watch is running does not update the output CSS files correctly. I tried changing the parameters on the mixin I am using but the CSS output file's ...
0
votes
1
answer
162
views
"Unable to create javax script engine for javascript" extjs
Following the "default" installation of extjs, I can't get it running with any Java > version 14.
With Java 14 the main warning is:
[ERR] Warning: Nashorn engine is planned to be removed ...
3
votes
0
answers
218
views
Sencha Themer 1.4.0 fat file, but missing compatible architecture (have 'i386,x86_64,unknown', need 'arm64e')
i'm using Sencha Themer 1.4.0
on Apple M1 with Monterey 12.4
java version "1.8.0_333"
Java(TM) SE Runtime Environment (build 1.8.0_333-b02)
Java HotSpot(TM) 64-Bit Server VM (build 25.333-...
0
votes
0
answers
32
views
ExtJS add latest store value of cartesian chart to the y-Axis
I'm dealing with the latest ExtJS version and currently trying to add the latest value of a cartesian chart store to the y-Axis
see image
Is there an easy / built in way to achieve this?
Also is ...
0
votes
2
answers
79
views
ExtJs panel ViewModel getStore() call returns null instead of returning local ajax store object with URL bound to ViewModel data member
To reproduce this issue, I created a fiddle: https://fiddle.sencha.com/#view/editor&fiddle/3mk0 . The steps to reproduce are as follows:
Open your favorite browser and open the debugging tools to ...
3
votes
4
answers
8k
views
Directory indexes not allowed here Django
I have a django app. Here is my directory structure.
.
+--media
+--index.html
+--static
+--extjs
+--<extjs files>
+--updater
+--app
+--images
+--ux
+--app....
0
votes
0
answers
11
views
Ext JS 3.41 Grid Grouping
The below is my GRID,
I need the 'maingrpname' wise grouping of all rows and total of each group.
Please share the methods and coding for the same.
thanks
var flxMainSubGroup = new Ext.grid.GridPanel({...
0
votes
1
answer
36
views
Integrate font-awesome pro 5 with ExtJs 7.6.0
ExtJs 7.6.0 comes with the free version of font-awesome (fa) 5. Has anyone been successful in integrating fa pro 5 with ExtJs 7.6.0 (classic)?
If yes, any tips or instructions?
I found these ...
0
votes
0
answers
33
views
ExtJS - creating a package with widgets panels, etc
I am creating a package in ExtJS and I need it to contain panels and other elements, this is my package.json:
{
/\*\*
\* The name of the package.
\*/
"name": "MyPackage4",
&...
2
votes
3
answers
4k
views
How to run "sencha app watch" without a webserver
I am already serving my ExtJS 5.1 development application on a local (nginx) web server, and I don't need the development webserver from Sencha Cmd when running sencha app watch.
Is there any flag or ...
0
votes
1
answer
266
views
EXTJS 7.2.0 CLASSIC - GRID HEADER INSERT ISSUE/BUG WITH CHROME 81
Please see code example and attached fiddle.
Issue:
Basically, since Chrome 81 and maybe even before users of our application have reported an issue with the Ext.grid.Panel getHeaderContainer().insert ...
0
votes
1
answer
32
views
Infor EAM extensible framework
How to set field value based on another field using extensible framework
Field.formPanel.setFldValue(”field_name”, “fieldValue”, true);
0
votes
1
answer
13
views
How to control tab button cursor pointing in horizontal direction
In EXTJS how we can control tab cursor movement in form page , currently I have textfields in formpanel and when pressing tab button its moving in vertical direction I want to move that in horizontal ...
0
votes
1
answer
39
views
Ext.grid.Panel : Out of Memory
In extjs 7.5.1 all gridpanel are "infinity scroll" ones and have the plugin https://docs.sencha.com/extjs/7.5.1/classic/Ext.grid.plugin.BufferedRenderer.html
"(...) users to scroll ...
-1
votes
2
answers
2k
views
How to style extjs combobox height apart from css ways
The extjs Ext.form.ComboBox item setting height is not working using the
maxHeight: 100
minHeight: 100
maxBoxHeight: 100
minBoxHeight: 100
Even the setting of height of the div of the list is not ...
-1
votes
1
answer
903
views
How to highlight rows in grids in Extjs
In extjs how do I highlight a row in a grid, by providing the grid and row details. If not pls provide any other method to do it.
mygrid.getSelectionModel().selectRows(array,keep current selections);
...
0
votes
2
answers
69
views
Mouse Click event get name of the bar EXT JS
I am new to EXT JS. I have a bar chart with items when click on the single
in the below image if we do mouse click on metric two i should get 27 value in mouse click event
Please help
0
votes
0
answers
15
views
Does Ext.data.Store only used for model collections? [duplicate]
I see in the document page: https://docs.sencha.com/extjs/6.2.0/modern/Ext.data.Store.html
The Store class encapsulates a client side cache of Ext.data.Model objects. Stores load data via a Ext.data....
0
votes
1
answer
47
views
Unrecognized class name / alias: widget.passwordfield
In extjs when trying to add xtype:'passwordfield' i'm getting this following error:
Unrecognized class name / alias: widget.passwordfield
Synchronously loading 'widget.passwordfield'; consider adding ...
1
vote
1
answer
622
views
Shortest way to generate a string from objects values in JavaScript
I've got an object :
var obj = {
a: 'hello',
b: 32,
c: 'foo'
}
I need to extract to following string:
'hello, 32, foo'
My current method is:
var ar = [];
for (var key in obj){
if (obj....
0
votes
0
answers
29
views
Parse error. name not recognized WRN on ExtJS 7.6
I've just generated a ExtJS 7.6 app with
sencha generate app --ext App ./apps/testing --classic
If a compile that app with:
sencha app build testing
I get this annoying WRN:
C1005: Closure Compiler ...
1
vote
0
answers
19
views
Can I use custom flags to sencha app build?
Is there a way to pass custom flags like this:
sencha app build --foo=bar
Then, access that flag via build.xml ?
Thanks.
0
votes
0
answers
9
views
Specifying a custom theme via ant flag
I'm trying to run this:
sencha ant build --theme=my-custom-theme --environment=testing
But doesn't work as expected. It ignores the environment, and throws:
"Target "--theme=my-custom-...
1
vote
1
answer
30
views
Call stack error while creating chained store in Ext Classic toolkit
I have a chained store which is linked with the main store. I face 'Maximum call stack error' while creating chained store when the source is having more than 127k records.
While I am able to load ...
0
votes
2
answers
671
views
extjs record destroy by desired property
I'm developing Exjs mvc application.
I have an Extjs model :
Ext.define('JC.model.File', {
extend: 'Ext.data.Model',
fields: [
{name: 'id', type: 'int'},
{name: 'fileName', type: '...
0
votes
0
answers
33
views
How can I convert time to integer on Javascript-ExtJS?
I have a code like this:
if(sure !== undefined && sure !== "" && sure !== null){
values.sure=X.baseFunc.timeIntoInteger(sure.substring(0,2),sure.substring(3,5));
}
...
25
votes
4
answers
31k
views
Error "User limit of inotify watches reached". ExtReact build
I installed ExtReact, with examples. When I run
npm start
I get an error:
ERROR in [@extjs/reactor-webpack-plugin]: Error:
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.BasicException: User limit ...
1
vote
1
answer
98
views
how to deal with page number under pagination bar
I have a pagination bar which show page number but the problem with it is that till 9th page number it shows the correct result but as soon as i enter 10 then page number shows 0 which is the unit ...
30
votes
8
answers
102k
views
Open HTML5 date picker on icon click
I have an HTML5 date picker. It is opened when I click on the date picker text box.
Todo :
I have to change the event to an icon, but I'm not sure how to achieve this. I have to open the date ...
1
vote
1
answer
22
views
How to specify a different domain when using sencha app watch?
Is there something like?
sencha app watch --host=mydomain.app
As we all know, the default domain is localhost:1841. I can define a custom port, but not a custom domain.
I haven't found anything ...