Search:

Type: Posts; User: PulpMysteryFan

Page 1 of 4 1 2 3 4

Search: Search took 0.40 seconds.

  1. Replies
    5
    Views
    203

    These should do the same thing var a =...

    These should do the same thing


    var a = Ext.create('MyApp.view.Account');
    a.setBalance(-1);
    // Balance is 0

    var a = Ext.create('MyApp.view.Account', {
    balance: -1
    });
  2. Replies
    5
    Views
    203

    Tristan, that makes sense, but note that the...

    Tristan, that makes sense, but note that the class system guide states If your apply method does not return a value, the setter will not set the value. So maybe the documentation needs updating...?
  3. Replies
    5
    Views
    203

    Apply method run on config object

    Ext.define('MyApp.view.Account', {
    extend: 'Ext.Component',
    config: {
    balance: 0 // Default, or starting balance
    },
    applyBalance: function(balance) {
    //...
  4. Replies
    1
    Views
    348

    [FIXED] Customize new view file template?

    When I use the plugin to create a new view, the generated file has instructional comments, as seen below. Is there a way to customize that? I'd rather not have the comments at all, and there are some...
  5. If it were up to me, I guess I'd put one copy in...

    If it were up to me, I guess I'd put one copy in the development folder somewhere (perhaps directly in bootstrap.css), and the build would get its own copy.
  6. Replies
    3
    Views
    1,153

    Thank you for the response, but if you look at my...

    Thank you for the response, but if you look at my example you'll see that I tried that. I have a renderer on the series, and the breakpoint is not being hit. Do you have a code snippet (suitable for...
  7. I don't understand radar chart scaling

    Here's an example (suitable for Live Preview) that plots two radar series. An image of the running chart is below.

    The series for data1 should plot entirely within the other -- all its data...
  8. Replies
    3
    Views
    1,153

    Marker renderer for radar chart?

    I'd need to render each vertex marker in a radar chart, but I can't figure where to specify a renderer. What's the syntax?

    Here's a code snippet where I'm trying every place I can think of, but...
  9. Replies
    2
    Views
    1,043

    Yes, Ext.data.Store has a fields:[], configured...

    Yes, Ext.data.Store has a fields:[], configured exactly like what's used in a model declaration.

    See: http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.data.Store-cfg-fields
  10. I would like it to omit references to the build....

    I would like it to omit references to the build. If I didn't need the reference before the build, I shouldn't need it after the build. But by having it there, I am not free to move or delete the...
  11. "sencha app build" adds link to built css from bootstrap.css

    If you do a sencha app build it updates the application's bootstrap.css to reference the css in the build folder. This seems like an unnecessary and bad dependency. If the build folder is moved or...
  12. Thanks! :-D

    Thanks!

    :-D
  13. Getting to original XMLHttpRequest#responseText from a store?

    Hi everyone.

    Does anyone know how to get the XMLHttpRequest#responseText from a data store? The situation is that my server provides additional meta data in the response that I need to get to...
  14. [NOREPRO] So in summary, the "bug" was me using format...

    So in summary, the "bug" was me using format rather than dateFormat (and I was confused by the second date column actually working using format).

    Thanks for the help. :-)
  15. [NOREPRO] Date field type not working for long (U) dates

    REQUIRED INFORMATION

    Ext version tested:

    Ext 4.1.0 release date April 20
    Browser versions tested against:Description:

    Date column does not work with a "U" formatted date string
    Test Case:
  16. No, I mean I only want it to fire once. Right now...

    No, I mean I only want it to fire once. Right now I set a flag and put an if statement in the event handler. So it's run each time, but I only do something the first time in. I only want the event to...
  17. So how should I handle this situation? I'd like...

    So how should I handle this situation? I'd like to put an un() in the event handler to remove itself from from firing again. But as you say, it looks like the component isn't holding and firing the...
  18. So how does one use refs and control to get a...

    So how does one use refs and control to get a reference to the store, then listen to one of its events?
  19. How to specify options sent to a controller event handler?

    In the past, if one wanted an event handler to run once, the syntax was to specify an options object to be passed to the event listener, passing single: true. I'd like to do that in a event handler...
  20. FYI, my code worked under pr2. It no longer works...

    FYI, my code worked under pr2. It no longer works under pr4.
  21. Ext.tab.Panel getTabBar() fails as I add items in subclass initialize()

    I have an Ext.tab.Panel subclass. In its initialize() method I'm adding items via add(), passing a configuration object for the two tab items it needs. (I can't add them via the "items" property...
  22. Duh, whoops. I meant to post this on the Touch 2...

    Duh, whoops. I meant to post this on the Touch 2 forum. I'll move it.
  23. By the way, my code worked under pr2. My comment...

    By the way, my code worked under pr2. My comment relates to pr4.
  24. Ext.tab.Panel getTabBar() fails as I add items in subclass initialize()

    I have an Ext.tab.Panel subclass. In its initialize() method I'm adding items via add(), passing a configuration object for the two tab items it needs. (I can't add them via the "items" property...
  25. Replies
    7
    Views
    2,364

    Excellent article skirtle. Thanks! :-)

    Excellent article skirtle. Thanks!

    :-)
Results 1 to 25 of 98
Page 1 of 4 1 2 3 4