Search Type: Posts; User: jakobgrannas

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Oh, ok. Is there some other method I could use if I want to merge a number of objects without prototypical inheritance?

    The problem is that I want to merge a number of objects together using only...
  2. Hi,

    I recently discovered that Ext.Object.merge has no hasOwnProperty check which means that it - apart from the objects own properties - also merges prototypically inherited properties from the...
  3. You need to use itemId's or id's, it's much easier to get a component by itemId or id. I'd do it like this:




    Ext.define('replacements.view.OrderDetail', {
    ...
    items: [ ...
  4. The problem (if I'm reading your code correctly) is that you're setting the data of the main component (the view), while the tpl is only used on a child panel of that main component. You have no tpl...
  5. I noticed that your record property contains a string. It should contain an object with the data you passed from the list. I'm not sure what your controller looks like, but when you instatiate your...
  6. I have the same problem, and I can't change the JSON structure since I get my data from an external source. Is there really no other way than to create an extension?
  7. Hi,

    I'm trying out ST2 MVC for the first time, and I've ran into quite a few problems while trying to get the hang of it all. One of these problems is that I can't seem to get my list to display...
  8. I'm experiencing the same problem. I don't know the exact pixel height, but it looks like the application is only taking up 50% of the browser height. I tried setting my viewport to autoMaximize, and...
  9. Replies
    1
    Views
    551
    I'm guessing you want a drop down-ish field rather than a picker? I'd try setting the 'usePicker' config property to false on the selectfield, not sure if that'd do the trick though.
  10. You need to run Ext.MessageBox.YES.text = 'my text' before you instatiate your messagebox. I run all of my Ext.MessageBox translation overrides at the beginning of my app, before I instatiate my...
  11. Hi,

    I'm wondering how to set the button text of Ext.MessageBox buttons in ST2 B3 (I'm guessing RC as well). I used to be able to do it like this;



    Ext.apply(Ext.MessageBox.YES, {
    ...
  12. Do you still need to use it though? I used to need it (only) for textarea fields, but I recently discovered that the keyboard is hidden perfectly in both iOS and Android when tapping outside the...
  13. Are you still getting the same error? I took a quick glance at your code and it seems fine. Didn't have time to take a more thorough look though
  14. Replies
    2
    Views
    672
    So you can confirm that it is in fact possible that too much is happening for the browser to show the animation? I'm guessing apart from removing components the only thing i can do to make my app...
  15. I don't really know what you're actually trying to do. If you posted your app code here it would be easier for us to help you. Judging from the error you get and the code you provided above it seems...
  16. Replies
    2
    Views
    672
    Hi,

    (I'm using sencha-touch-debug-all.js on Beta 3)

    I have a question: Is it possible that too many components, or too much css3 could slow the app down so much that cardswitch animations are...
  17. What you want to do is replace 'xtype' in your class definition (Ext.define) with 'alias'. I don't think there's a property called 'widget', so you should remove that. So this is what you want to do...
  18. I'm not sure, because I haven't done this before, but couldn't you just either send an empty object with setExtraParams() (note the "s" at the end) to reset them? If you want to reset them first and...
  19. Thanks for your answer! This must be new for Touch 2.0 then? Because I can use dots in aliases both in Touch 1 and in ExtJs 4
  20. Replies
    2
    Views
    647
    You mean like an Ajax request? You can do that with Ext.Ajax.request();
  21. Correct me if I'm wrong but I think the build script only compiles your app code, not the framework code. This means that you'll have to include the base code for the framework -which is either...
  22. I just noticed something while debugging a modal panel. I was trying to figure out why my modal panel wouldn't show a mask or have a functioning scroll in my app, while basically the same code...
  23. My app is quite extensive and unfortunately I can't provide all the code, but here's the code for the first component that requires a ValidIdRegex:


    ...
  24. REQUIRED INFORMATION
    Ext version tested:

    ST2 Beta 2
    Build: sencha-touch-all-debug.js
    Browser versions tested against:

    Chrome
    Description:
  25. I'm still experiencing the problem described in this thread:

    http://www.sencha.com/forum/showthread.php?160385-Observable-Invalid-unique-id-regexp&p=716081

    I'm using B1...
Results 1 to 25 of 37
Page 1 of 2 1 2