Search Type: Posts; User: mrsunshine

Page 1 of 5 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    2
    Views
    484
    sync() is the right way.
    If you like to add additional data you can hook into the beforesync event of the store
    http://docs.sencha.com/extjs/4.2.2/#!/api/Ext.data.AbstractStore-event-beforesync
    ...
  2. Replies
    2
    Views
    775
    Nice ;-) looking forward to see that =D>
  3. Replies
    5
    Views
    527
    Most likely in you build file the Ext.define and you get labelWidth stuff get executed before Ext.Viewport exists.

    That why you should run you labelWidth stuff after you app got lunched. Most...
  4. Replies
    5
    Views
    527
    Make sure that the function does not get called before App launch and Ext.Viewport exists, if you rn it directly in Ext.define it can be to early. try to set the label with after initialze
  5. Replies
    5
    Views
    527
    Ext.Viewport.getOrientation()
    is correct! Pleas post the context where you call the function.
  6. did you look into the Ext.device api than?

    i don't know you exact use case. For some you listen to that event
    http://docs.sencha.com/touch/2-1/#!/api/Ext.device.Device-event-schemeupdate
  7. most likely you wrote your store config like that



    Ext.define('People', {
    extend: 'Ext.data.Store',
    grouper: {
    groupFn: function(record) {
    return...
  8. Do you run the app in the browser?
    Do you saved it to the homescreen and started it from there?
    Which goal do you reach in that function? ;-)
  9. Sencha Touch 2.1 only runs in webkit based browsers

    if you need firefox, IE or opera support look into the upcoming version 2.2
    http://www.sencha.com/forum/announcement.php?f=90&a=36 which has...
  10. try


    Ext.each(
    this.getMyForm().query('textfield'),
    function(field){
    field.setReadOnly(true)
    }
    )
  11. Replies
    2
    Views
    641
    The DOM which is generated for the list is optimised for infinity data.
    more details in blogpost http://www.sencha.com/blog/whats-new-in-sencha-touch-21/
    to control the paging you can use the list...
  12. from your mobile device you most likely can not access the http://localhost of your desktop development machine
  13. Replies
    3
    Views
    659
    you can configure that in the list with itemHeight and variableHeights

    http://docs.sencha.com/touch/2-1/#!/api/Ext.dataview.List-cfg-itemHeight...
  14. Replies
    2
    Views
    395
    proxy definition has to be in the config object of the store
  15. like the error says

    xtype: 'Dataview', is wrong
    if you look into the doc you can see that Ext.dataview.DataView has the

    xtype: 'dataview', in lower case
    ...
  16. You can define filters for your store
    http://docs.sencha.com/touch/2-1/#!/api/Ext.data.Store

    you can filter by field and values or by a custom filter function
  17. You have to make sure that you have an instance of the class resultsView when you try to access it.
    Seems you hook into to early in the lifecycle. One option can be to use the autoCreate option in...
  18. Replies
    21
    Views
    7,391
    Looking forward to see you guys there! ;)
  19. Sencha Cmd v3.1.0.256
    Ext JS 4.2.0.663

    How to configure path to project for bootstrap.js class path mapping?



    htdocs
    -- index.php
    -- sencha/
  20. Having the same problem. My custom scss files which i placed in the theme package etc folder and included them are not interpreted and not in the mytheme.css

    So same question how to include custom...
  21. Replies
    195
    Views
    77,279
    Search the file also for just


    .getGridColumns(true)
    than you should find one more and it should work
  22. Replies
    195
    Views
    77,279
    @lelit: thanks for sharing this, saved me some time ;-)
  23. yeah it is, take look to the docs you can define both success and failure

    http://docs.sencha.com/touch/2-1/#!/api/Ext.device.Camera-method-capture
  24. the only way i see in the code is to handle it in the captures failure callback
  25. <!DOCTYPE HTML>
    <html manifest="" lang="en-US">
    <head>
    <meta charset="UTF-8">
    <title>Your App</title>
    <style type="text/css">
    html, body {
    height: 100%;
    }...
Results 1 to 25 of 110
Page 1 of 5 1 2 3 4