Search Type: Posts; User: vietits
Search: Search took 0.05 seconds.
-
27 Dec 2012 7:38 PM
- Replies
- 5
- Views
- 1,048
At defining time of TR.store.Trends, 'this' is often window or some other object, not the store instance which will be existed only when you create an instance of the store. So this.generateData will...
-
30 Nov 2012 4:02 PM
- Replies
- 1
- Views
- 249
Because downloadButton is an Ext component so its event can be catched by controller.
{
id: 'downloadButton',
xtype: 'button',
scope: this,
text: 'Download',
// ... -
30 Nov 2012 3:46 PM
- Replies
- 5
- Views
- 455
Do you encounter the issue with the simple example I posted in my previous post (#2)?
-
30 Nov 2012 5:01 AM
Jump to post Thread: Panel click event by vietits
- Replies
- 1
- Views
- 352
Try this:
1. View code
Ext.define('App.view.Panel', {
extend: 'Ext.panel.Panel',
alias: 'widget.apppanel',
bodyCls: 'entity_draw',
... -
30 Nov 2012 5:01 AM
Jump to post Thread: MVC Panel Click event by vietits
- Replies
- 4
- Views
- 407
Try this:
1. View code
Ext.define('App.view.Panel', {
extend: 'Ext.panel.Panel',
alias: 'widget.apppanel',
bodyCls: 'entity_draw',
... -
30 Nov 2012 12:24 AM
- Replies
- 3
- Views
- 116
<numField> is your number field. How to get it is depend on where do you want to access it.
-
30 Nov 2012 12:22 AM
- Replies
- 3
- Views
- 340
If so, you can listen for 'requestcomplete' event from Ext.Ajax:
Ext.Ajax.on('requestcomplete', function(connection, response, options){
// your code here
}); -
29 Nov 2012 6:01 PM
- Replies
- 3
- Views
- 116
Try to use <numField>.setMaxValue() & <numField>.setMinValue().
-
29 Nov 2012 5:56 PM
- Replies
- 5
- Views
- 455
What are the words that cause the problem? I could not reproduce the issue with what you supplied. The following example works fine with Ext 4.1.1 & Chrome.
Ext.onReady(function(){
... -
29 Nov 2012 4:14 PM
- Replies
- 2
- Views
- 416
Try these Ext.dom.Element.setHTML() or Ext.dom.Element.update().
-
29 Nov 2012 4:06 PM
- Replies
- 3
- Views
- 340
Try to apply decoding at model definition by using field convert().
-
23 Nov 2012 2:17 AM
- Replies
- 1
- Views
- 139
Try this:
var node = this.getStore().getNodeById(id);
node.collapse();
node.set('loaded', false);
node.expand(); -
23 Nov 2012 1:58 AM
- Replies
- 3
- Views
- 1,043
You should decorate the model class not model instances. Try to fix your code as below:
Ext.define('Ext.data.ObjectTypeModel', {
extend: 'Ext.data.Model',
fields: [ { name: 'name',... -
21 Nov 2012 5:18 PM
- Replies
- 1
- Views
- 179
Did you try the code below?
Ext.define('Override.data.NodeInterface', {
override: 'Ext.data.NodeInterface',
myFunction: function(){
...
}
}); -
17 Nov 2012 4:28 PM
- Replies
- 6
- Views
- 527
Try this:
Ext.onReady(function(){
var win = Ext.create("Ext.window.Window", {
title: "Test Ext.layout.container.Anchor",
autoShow: true,
width: 200,
... -
17 Nov 2012 5:32 AM
- Replies
- 6
- Views
- 527
FYI: The following example works fine with Ext 4.1.1 & Chrome.
Ext.onReady(function(){
var win = Ext.create("Ext.window.Window", {
title: "Test Ext.layout.container.Anchor",
... -
17 Nov 2012 5:01 AM
- Replies
- 5
- Views
- 611
See the answer here: http://www.sencha.com/forum/showthread.php?248849-ASK-Have-a-problem-with-My-Password-Validation-2
-
17 Nov 2012 4:56 AM
- Replies
- 3
- Views
- 449
Try this:
Ext.onReady(function(){
Ext.create("Ext.window.Window", {
title: "Test Ext.layout.container.Anchor",
autoShow: true,
layout: "fit",
border: 0,... -
17 Nov 2012 1:05 AM
- Replies
- 1
- Views
- 431
You should put your code inside Ext.onReady(function(){...});
<!DOCTYPE html>
<html>
<head>
<title>Grid</title>
<link... -
16 Nov 2012 11:13 PM
- Replies
- 3
- Views
- 316
How do you determine the value of leaf field? Have you tried to define a convert() function?
-
16 Nov 2012 5:14 PM
Jump to post Thread: write my own proxy (class) by vietits
- Replies
- 5
- Views
- 463
You should look at the source code of Ext.data.proxy.Proxy, Ext.data.proxy.Server, Ext.data.proxy.Ajax. If you have the intention of writing your own reader, you also need to look at...
-
16 Nov 2012 4:52 PM
- Replies
- 2
- Views
- 589
Try to fix your code as below:
itemcontextmenu: function(dataview, record, item, index, event, eOpts){
var form = this.up('form'); // get reference to form instance
... -
16 Nov 2012 4:41 PM
Jump to post Thread: tree store append child by vietits
- Replies
- 1
- Views
- 255
You should use a model or at least use fields config to include all fields you need for a node.
var store = Ext.create('Ext.data.TreeStore', {
fields: [{
name: 'text', type: 'string'... -
15 Nov 2012 5:46 PM
Jump to post Thread: Graph click listeners by vietits
- Replies
- 2
- Views
- 445
1. You should add listener to a series instance, not to chart.series which is a mixed collection that contains all series.
topicListeners: function(){
var chartApp = this;
// ... -
15 Nov 2012 5:10 PM
Jump to post Thread: Grid reloading by vietits
- Replies
- 3
- Views
- 287
1. You should put your code between CODE tag for readibility, then you will get more opportunity of getting support from community.
2. Each time you call showTransactionDetail(), you create a new...
Results 1 to 25 of 120
