Search Type: Posts; User: dishwashwebdesign

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. ok, as a workaround i did something like that which does the job just fine:

    set up a card layout which contains the form and a nestedlist.
    the nestedlist contains the data for the selectfield.
    ...
  2. Is there any chance to define a treestore in in the picker store config (http://docs.sencha.com/touch/2-1/#!/api/Ext.picker.Picker)

    or what would be a good way to handle such a requirement?

    the...
  3. ok, it seems that defaultPhonePickerConfig within the selectfield config can help to do the trick :)


    defaultPhonePickerConfig : {
    slots : [
    ...
  4. is there an easy and quick way to define a form 'selectfield' with multiple slots?
    pretty much the same way as this is possible using the ext.picker element.



    xtype: 'selectfield',
    name:...
  5. well, at the moment both have the same proxies and same model defined. but thats not an optimized way to do it right?
    i want to only have one proxy for the "main" store and then just copy all its...
  6. i struggle to get two stores with identical values retrieved by a single jsonp call.
    i tried using an onload store listener and then copy the value manually into the other store, but this doesnt...
  7. looks just what i needed :)
    did you get that piece of code working in sencha touch 2 as well?
    looks like the list element doesnt have the scroller functionality...

    dont worry, just took out some...
  8. hey, thanks for the reply.
    unfortunately this didnt work in my case. i got three different detailcards which have their own logic and are shown thru a card layout :)

    this ugly workaround did the...
  9. Replies
    51
    Views
    11,572
    Hello,

    another little concern i pumped into:
    is type->jsonp supported in this release?

    i got errors when building a productive built:


    Ux.locale.Manager.setConfig({
    ajaxConfig...
  10. Whats an easy and nice solution to go back to the root folder of a nestedlist?
    The nestedlist contains a card layout for its multiple detailcards.

    ...
  11. thanks for the response, but this didn't help either.
    will just go back to the old-fashioned-kinda way of having a separate store and do the linking with filters instead :)
    cheers...
  12. Model Item


    Ext.define('stockwiz.model.Item', {
    extend: 'Ext.data.Model',
    config: {
    fields: [
    { name: '_id', type: 'string' },
    { name: 'name', type:...
  13. After extending and compiling app.scss with

    .x-msgbox{
    z-index: 100 !important;
    }

    Ext.Msg got the higher z-index.

    But I am still experiencing the same troubles as you mentioned :(
    Did...
  14. ah good one, thanks heaps that worked out just well:


    itemTpl: new Ext.XTemplate(
    '{[this.addCommas(values.remaining)]}',
    {
    ...
  15. Thanks Mitchell,
    I figured that one out too, this regex would do the trick as well:


    x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");

    my trouble is only how to squeeze the numbers thru the...
  16. Thanks, but that was the actual question, how to format float numbers inside a lists itemtpl. There is senchas Ext.Number and Ext.util.Format but they dont seem to do the trick either.
    thanks for...
  17. Thanks for the reply, but the type is already set to 'float' in the model.
    Thats why i am a bit lost why the numbers are displayed without any thousand separators...
  18. anyone? any hints at all?
  19. Whats a painless way to format float numbers out of a store using lists itempl?
    The number format has to have a thousand separator e.g. 123.400 or 123'400 or 20,25.

    I tried this, only with more...
  20. dont worry guys,
    solved it using non-integer ids (1a to how high ever :)
    then it works just smoothly...
  21. funny things are happening after the update from sencha 2.0.0 to 2.0.1.
    this store filter did the job nicely when filtering on integer-ids:


    itemStore.filter({
    filterFn:...
  22. thanks for your reply, it didnt help either.
    for now i am adding these listeners inside the listconfig:


    listeners: {
    activate: function() {
    ...
  23. ok just did it :) pretty straight forward actually:


    Ext.define('myapp.view.Stock', {
    extend: 'Ext.dataview.NestedList',
    xtype: 'xtype-stock',
    config: {
    store:...
  24. Did you manage to get a solution for Sencha Touch 2?
    the toolbar config in the nestedlist seems to work, but how to only display the button on the final card and right aligned?

    Thanks...
  25. The loadingText for a nestedlist is defined like this:


    Ext.define('myapp.view.Stock', {
    extend: 'Ext.dataview.NestedList',
    xtype: 'xtype-stock',
    config: {
    store:...
Results 1 to 25 of 53
Page 1 of 3 1 2 3