Search Type: Posts; User: eastlander

Page 1 of 2 1 2

Search: Search took 0.08 seconds.

  1. Something like this:


    var emptyStore = Ext.create('yoursite.store.YourStore');
    list.setStore(emptyStore);

    originalStore.add(yournewmodel);

    list.setStore(originalStore);
  2. How did you do it?
  3. Thanks, thats what I meant indeed
  4. Hi,

    When I make a production build with Sencha Command all class dependencies are compiled into the app.js which will be placed in localstorage when user visits the app in browser.

    How can I...
  5. You don't have to specify anything for the manifest file. Everything (index.html, js and css files) is cached. Js and Css files are placed in local storage and will not be updated until there is a...
  6. Just post your form with Ajax and add the dataUrl of the image to it:


    var jsonFile = {
    // other form fields here
    base64Image: image
    };


    Ext.Ajax.request({
  7. Have u tried to set the left and top properties?
  8. The sync method returns the updated record. So you could do:


    var newRecord = myStore.sync();
    myFormpanel.setRecord(newRecord);
  9. Setting that meta tag will probably not work because ST also adds this meta tag with value 'yes'.
    Search for meta('apple-mobile-web-app-capable', 'yes') in the ST sources to change that.
  10. flex: 1 or heigh: 100% on the container?
  11. Have you defined a hasmany association on your models?
    See: http://docs.sencha.com/touch/2-1/#!/api/Ext.data.association.HasMany
  12. I don't think it has anything to do with your app but more with addins or toolbars installed to your browser. When I search for yontoo on google it seems that this is addware.
  13. Try: store.first().getData(true) instead of store.first().data
  14. You could handle the Login button's tap event in the view by adding a listeners section to the config section like this:


    listeners:
    [
    {
    delegate: 'button',
    event: 'tap',...
  15. Hmmm it should work that way.
    You could take a look at Sencha's Kitchensink example (Nestedloading view) and see if you do something wrong.
  16. How do you access the children from your parent?
    var childrenstore = parent.children()?
  17. The browser's developer tools can help you with looking at the hierarchy (CTRL+SHIFT+I in Chrome). On the elements tab you can see what css rules are applied to an element and in which order.

    Also...
  18. Not sure if this will work:

    Change
    border-bottom: 1px solid #dedede; to
    border-bottom: 1px solid #dedede !important;
  19. How about:
    dataview1.select(dataview1.getStore().getById(modelfromdataview2.getId()));

    ?
  20. dataview1.select(modelfromdataview2.getId());

    Make sure you have the id property set, so models will have the same id. The Sencha generated id of model1 and model2 won't be the same.
  21. No idea :(
  22. Do you need compass?

    Otherwise you could add this line to your sencha.cfg file:

    skip.sass=1
  23. You should just use the textfield and then set it's component.


    {
    xtype: 'textfield',
    label: 'Somefield',
    component: {type: 'date'}
    }
  24. Maybe:
    record.set(data);
    record.commit();
  25. Not sure if this will work, otherwise you should try to extend panel and use that as component for the signaturefield:


    Ext.define('ux.signaturefield', {
    extend: 'Ext.field.Text',
    ...
Results 1 to 25 of 50
Page 1 of 2 1 2