Search:

Type: Posts; User: yoh.suzuki

Page 1 of 2 1 2

Search: Search took 0.04 seconds.

  1. Thread: JSON Diff

    by yoh.suzuki
    Replies
    3
    Views
    3,940

    Hmm. I tried to make this post in the Examples...

    Hmm. I tried to make this post in the Examples and Extras forum, but it moved me into this topic. :-/
  2. Thread: JSON Diff

    by yoh.suzuki
    Replies
    3
    Views
    3,940

    JSON Diff

    I wrote a little page using Ext 4.0.7 to visualize the difference between two JSON objects to make my own life easier. It's not the cleanest code by any means, and it's a work in progress.
    ...
  3. Replies
    37
    Views
    20,972

    [OPEN] This is how I gave the TextArea the...

    This is how I gave the TextArea the auto-expanding behavior:


    Ext.define('ExpandingTextArea', {
    extend: 'Ext.form.TextArea',
    initialize: function() {
    var textArea =...
  4. Ok. I was hoping there might be a trick I'm not...

    Ok. I was hoping there might be a trick I'm not aware of.

    I ended up storing the parent id as well as the child id for faster lookups.

    Thanks!
  5. hasMany associated store, pulling out a single record

    I have two models: parent and child. There's a hasMany relationship where a parent has many children. This is all working great.

    Let's say I know the id of a child record, but I do not know the...
  6. Janelle, you totally rock. Your override works...

    Janelle, you totally rock. Your override works wonderfully. Thank you!
  7. [OPEN] I figured it out, EJ. This occurs because the...

    I figured it out, EJ. This occurs because the parser tries to figure out the day of month in this order:

    1.) try to parse the day of month from the input // <-- null in this scenario
    2.) look...
  8. [OPEN] Android - Ext.form.Text has ghost text after you clear it

    This is a weird one. In some cases, on Android, when you clear the textfield by tapping the clear icon, the ghost of the previous value still looks like it's in the field, though the cursor is at...
  9. [FIXED] Thanks, Jamie! You are awesome.

    Thanks, Jamie! You are awesome.
  10. [FIXED] Ext.form.Number setValue to clear the field on Android

    I need to empty the number field when someone focuses it. I tried calling setValue with falsy values. On Android phones, however, rather than emptying, it puts in "NaN" or goes into a loop where it...
  11. [FIXED] workaround

    I'm sure there is a reason this was added sometime between PR3 and 2.0 Release, but for now, I'm using this workaround:


    Ext.define('Ext.data.Connection.fixed', {
    override:...
  12. [FIXED] Inside the onComplete and parseStatus functions...

    Inside the onComplete and parseStatus functions of Ext.data.Connection, request.xhr.status is interpreted as success when it is 0, which I believe is incorrect according to the W3C specification.
    ...
  13. [FIXED] (Oops. The title should read "Ext.Ajax.request".)

    (Oops. The title should read "Ext.Ajax.request".)
  14. [FIXED] Ext.Ajax.Request executes the success handler when it fails

    I'm using Sencha Touch 2.0 (release).



    Ext.Ajax.request({
    url: 'https://somewhere.com/api/404',
    jsonData: {},
    success: function() {
    console.log('success')
    }
  15. Replies
    2
    Views
    1,884

    Oh. Today, this issue been accepted as a bug. ...

    Oh. Today, this issue been accepted as a bug. http://www.sencha.com/forum/showthread.php?185360
  16. Replies
    2
    Views
    1,884

    I would like to know the general approach to this...

    I would like to know the general approach to this because I may want to override other singletons (like Ext.Viewport).
  17. Replies
    2
    Views
    1,884

    How to override an Ext singleton?

    I'm trying to add some validators to the singleton Ext.data.Validations so I can reference custom validations in my models.

    In previous versions of Sencha Touch, I could add stuff to it using...
  18. [CLOSED] I'm working with PR3 right now, and that line /...

    I'm working with PR3 right now, and that line / functionality is definitely missing. Sounds like it's already fixed in your latest though. Thanks.
  19. [CLOSED] Ext.mixin.Selectable cannot deselect by passing in an index

    This applies to List, but the bug is in the Selectable mixin.

    The following code in the deselect function:


    if (typeof records === "number") {
    records = [me.getStore().getAt(records)];
    }
  20. [FIXED] I hacked around it for now by overriding the...

    I hacked around it for now by overriding the store's clearData function like this:


    clearData: function() {
    var me = this;

    me.removed || (me.removed = []);
    ...
  21. [FIXED] Awesome. Thank you!

    Awesome. Thank you!
  22. [FIXED] That's fantastic! I've been hoping for a way to...

    That's fantastic! I've been hoping for a way to hide the keyboard. In fact, I couldn't figure out how to reliably do this with just JavaScript (without interfacing with a native call). I look...
  23. I see. You are right, that works. The only...

    I see. You are right, that works. The only difference between your code and mine is that I'm passing in an instance of Ext.NavigationBar instead of the config for Ext.NavigationBar. In my...
  24. Ah ha! Thanks! I tried it a different way and...

    Ah ha! Thanks! I tried it a different way and it didn't work so I assumed it wasn't supported. Out of curiosity, is my way incorrect?


    Ext.create('Ext.Picker', {
    toolbar:...
  25. I wish Ext.picker.Picker could use an Ext.NavigationBar as its toolbar

    It would be nice to be able to center a title on the picker sheet, which would be possible with Ext.NavigationBar.
Results 1 to 25 of 50
Page 1 of 2 1 2