Search:

Type: Posts; User: vietits

Page 1 of 20 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    6
    Views
    4,239

    At defining time of TR.store.Trends, 'this' is...

    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...
  2. Replies
    1
    Views
    1,197

    Because downloadButton is an Ext component so its...

    Because downloadButton is an Ext component so its event can be catched by controller.


    {
    id: 'downloadButton',
    xtype: 'button',
    scope: this,
    text: 'Download',
    // ...
  3. Replies
    5
    Views
    1,875

    Do you encounter the issue with the simple...

    Do you encounter the issue with the simple example I posted in my previous post (#2)?
  4. Replies
    1
    Views
    1,652

    Try this: 1. View code ...

    Try this:

    1. View code


    Ext.define('App.view.Panel', {
    extend: 'Ext.panel.Panel',
    alias: 'widget.apppanel',
    bodyCls: 'entity_draw',
    ...
  5. Replies
    4
    Views
    2,213

    Try this: 1. View code ...

    Try this:

    1. View code


    Ext.define('App.view.Panel', {
    extend: 'Ext.panel.Panel',
    alias: 'widget.apppanel',
    bodyCls: 'entity_draw',
    ...
  6. is your number field. How to get it is...

    <numField> is your number field. How to get it is depend on where do you want to access it.
  7. If so, you can listen for 'requestcomplete' event...

    If so, you can listen for 'requestcomplete' event from Ext.Ajax:


    Ext.Ajax.on('requestcomplete', function(connection, response, options){
    // your code here
    });
  8. Try to use .setMaxValue() &...

    Try to use <numField>.setMaxValue() & <numField>.setMinValue().
  9. Replies
    5
    Views
    1,875

    What are the words that cause the problem? I...

    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(){
    ...
  10. Replies
    2
    Views
    1,456

    Try these Ext.dom.Element.setHTML() or...

    Try these Ext.dom.Element.setHTML() or Ext.dom.Element.update().
  11. Try to apply decoding at model definition by...

    Try to apply decoding at model definition by using field convert().
  12. Try this: var node =...

    Try this:


    var node = this.getStore().getNodeById(id);
    node.collapse();
    node.set('loaded', false);
    node.expand();
  13. You should decorate the model class not model...

    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',...
  14. Did you try the code below? ...

    Did you try the code below?


    Ext.define('Override.data.NodeInterface', {
    override: 'Ext.data.NodeInterface',
    myFunction: function(){
    ...
    }
    });
  15. Try this: Ext.onReady(function(){ var...

    Try this:


    Ext.onReady(function(){
    var win = Ext.create("Ext.window.Window", {
    title: "Test Ext.layout.container.Anchor",
    autoShow: true,
    width: 200,
    ...
  16. FYI: The following example works fine with Ext...

    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. See the answer here:...

    See the answer here: http://www.sencha.com/forum/showthread.php?248849-ASK-Have-a-problem-with-My-Password-Validation-2
  18. Try this: Ext.onReady(function(){ ...

    Try this:


    Ext.onReady(function(){
    Ext.create("Ext.window.Window", {
    title: "Test Ext.layout.container.Anchor",
    autoShow: true,
    layout: "fit",
    border: 0,...
  19. Replies
    1
    Views
    1,328

    You should put your code inside...

    You should put your code inside Ext.onReady(function(){...});


    <!DOCTYPE html>
    <html>
    <head>
    <title>Grid</title>
    <link...
  20. How do you determine the value of leaf field?...

    How do you determine the value of leaf field? Have you tried to define a convert() function?
  21. Replies
    5
    Views
    1,335

    You should look at the source code of...

    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...
  22. Try to fix your code as below: ...

    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
    ...
  23. Replies
    1
    Views
    821

    You should use a model or at least use fields...

    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'...
  24. Replies
    2
    Views
    2,093

    1. You should add listener to a series instance,...

    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;
    // ...
  25. Thread: Grid reloading

    by vietits
    Replies
    3
    Views
    1,137

    1. You should put your code between CODE tag for...

    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 500
Page 1 of 20 1 2 3 4