Search Type: Posts; User: Kurt001

Page 1 of 5 1 2 3 4

Search: Search took 0.03 seconds.

  1. If you just need to save the data, you can always go with localStorage too.Still I do not understand why you would like to write this to a file and where the problem is.On the first run you can...
  2. You would need to save a json file and grab that with an ajax call


    "url": "myHomeUrl"
  3. You could use

    Ext.define('app.util.Config', {
    singleton : true,
    alternateClassName: 'app.Config',

    config : {
    baseUrl: '',
  4. Hi there,

    as for 2.4.1 this is still in there.

    The solution is, that you need to set the config-icon

    config: {
    icon: null
  5. Sounds like you implemented a folder "util" inside the "app" folder and you added a file Config.js inside.
    Most likely this is a singleton.

    Can you post the code of that file, so that we can help?
  6. Are you sure this is save without

    constructor: function (config) {
  7. I still cannot figure out how and where to use the element.up('').
    The closest I am getting to is to ...

    * go up the dom structure
    * find the x-list-item class (which is the simplelistitem)...
  8. Can you help me with e.up('').

    I know element.up() if element is a sencha element. But in this case the delegate function will return the event and the html snippet.

    None of them seems to have...
  9. The screen is so tiny, that I cannot tell, where the arrows are pointing at.
    Do you simply need an overlay of the fullscreen? Simply add a centered modal with top=left=right=bottom=0; or height &...
  10. Your answer is here:
  11. I am doing almost the same as Mitchel, but I am not using a singleton here, because the values are usually statics:


    Ext.define('MyApp.util.Config', {
  12. You are here at the Sencha Touch forum. Please move this thread to architect.In sencha touch you would need to set up a project (cmd - sencha generate app). With that you will get a bootstrap.json at...
  13. Hi there,

    is it possible to do event delegation on a list and forward the record of the list-item?

    So far I have the following code

    xtype: 'list',
  14. I know this is an old post, but in case you are coming here for an answer, please look here:

    data = || options.rawData || options.binaryData || options.xmlData ||...
  15. Replies
    Ext.Component is a class, that gets instantiated (supporting lazy) with config and is being handled by ST.
    So if I destroy a view, the component inside is destroyed.

    But my class is not supposed...
  16. Why not only use one large file and depending on the css you want to use add a new cls to the Viewport.e.g.


    and in the SASS file

    .custom-1 {
  17. Take a look at the structure of the spinner and simply add the divs with the same classes to your tpl.
    Combine this with if...else and you can hide or show a spinner based on a record key.

  18. Replies
    Hi there,

    I would like to create a class with all the pros an Ext.Component gives me.
    But I do not need a visual appearance.

    So I thought I could use AbstractComponent, but it gives me the...
  19. Replies
    True, but still Sencha will call upon the old hash.

    1. start app
    2. call redirectTo(oldHash) (including setting history)
    3. call launch method of app (here I would set the hash to '')
  20. Replies
    Hi there,

    I have the problem, that on app start the window.location.hash.substr(1) is used to define the initial view.
    (app.Application.onDependenciesLoaded() )

    How can I set the initial hash...
  21. Replies
    Why not use the simple version:
    Found it here

    var start, end, output, i;

    start = new Date().getTime();

    // do whatever you need to know how long it takes
    for (i = 1; i <= 1e6; i++)
  22. Replies
    Hi fischer,

    thanks a lot.

    You missed a listeners.listeners, but otherwise it's doing what I wanted it to do :)

    Here is my final code working for all observables in the code:

  23. Replies
    Hi there,

    I am creating a messageBus

    App.messageBus = new Ext.util.Observable();

    Then I am adding an Event to listen to, to the messageBus

    App.messageBus.on('updatedata', this.loadData,...
  24. Thanks for the reply.

    Yes, forgot to mention, that I usually place my files into: Ext.ux plus short company name.


    My SASS is currently structured as:
  25. Hi there,

    I wonder if there is a best practice for reusing custom components.

    Here is what I do:
    create a custom component and if it is worth reusing it in several projects:
    * I send them to...
Results 1 to 25 of 120
Page 1 of 5 1 2 3 4