Search:

Type: Posts; User: meander365

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    9
    Views
    2,627

    Just add a 'Delegate Event Binding' to the parent...

    Just add a 'Delegate Event Binding' to the parent container. Properties should be:

    delegate : spinnerfield
    targetType : Ext.field.Spinner

    fn : onSpinnerfieldSpin

    ----

    What you could do,...
  2. Replies
    9
    Views
    2,627

    When I iterate over each record, I store all of...

    When I iterate over each record, I store all of the items data that's returned from the store under the 'data' property.


    data : sortedRecords[i].data

    Then on your 'onSpinnerfieldSpin' action...
  3. Replies
    9
    Views
    2,627

    I didn't use the DataView / DataItem approach....

    I didn't use the DataView / DataItem approach. Instead I just loaded in the records from the store, iterating over each record to create a new spinnerfield type; pushing each into an array and then...
  4. I ended up coding my own super simple slide...

    I ended up coding my own super simple slide navigation for use with archtiect. There is no swipe support (yet), but I can show and hide a side navigation panel - just as SlideNavigation does - by...
  5. Worked for me.

    Worked for me.
  6. Also, I've just noticed that if I enter an 'em'...

    Also, I've just noticed that if I enter an 'em' figure for the padding property, this get converted to 'px'.

    My new rule of thumb then, is to not use the padding and margin attributes and just use...
  7. Building an App : Removal of 'auto' from margin property

    If I set the margin of a container to 0 auto (to center) and then from the command line, perform a sencha app build package, 'auto' is removed.

    This results in the container being aligned to the...
  8. I've got this this working in Architect. It's a...

    I've got this this working in Architect. It's a little fiddly but it works.

    So first off I set a Loader to set the paths to ./ux as set out in the docs. So in Architect thats Application > Loader...
  9. Would be great to see an example on how to add a...

    Would be great to see an example on how to add a plugin to Architect.

    Appreciate this isn't inherently possible at the moment...which is why it would be a good example!


    Thanks....
  10. Adding the Slide Navigation Plugin to Architect

    I want to use wnielson's Slide Navigation (https://github.com/wnielson/sencha-SlideNavigation) from within Architect.

    From what I can gather, I would need to include this as a resource and define...
  11. Replies
    8
    Views
    2,485

    I didn't use a DataView / DataItem in the end. I...

    I didn't use a DataView / DataItem in the end. I opted to load the data from the store - construct each spinner and then add it to an array. I then add the array to a container.

    Something like...
  12. Replies
    2
    Views
    1,673

    Good to know - thank you...

    Good to know - thank you...
  13. Replies
    3
    Views
    2,538

    I found a solution but not sure it's the best...

    I found a solution but not sure it's the best method.

    On the callback of the load I use getData.items to retrieve the sorted items on the dataview.list rather than use the records returned. Seems...
  14. What about localStorage? Would that work for you?...

    What about localStorage? Would that work for you?

    http://docs.sencha.com/touch/2-0/#!/api/Ext.data.proxy.LocalStorage
  15. Replies
    3
    Views
    2,538

    Hey iSmartDevice - thanks for the reply... I...

    Hey iSmartDevice - thanks for the reply...

    I already tried that after reading the docs, but still no sort. I make the .sort call from within the callback before looping through the records.
    ...
  16. Replies
    3
    Views
    2,538

    Sorting a Store

    Hey,

    I have a store defined with a sorter applied.

    I have a dataview.list defined and it's store is that which is defined above.

    When I set autoload to true on the store, I can see the list...
  17. Replies
    2
    Views
    1,673

    Set Pattern on a Numberfield

    Wondering if anyone can shed some light on how I can set a number pattern on a number field?

    When using an iOS device, number fields are reformatted so 1234 becomes 1,234.

    I want to have the...
  18. Replies
    1
    Views
    895

    The path for each item within template was wrong...

    The path for each item within template was wrong - sorted now.
  19. Replies
    1
    Views
    895

    Can't Set Data On Container

    I've got an Ext.data.store hooked up to a model with 4 fields and a sessionstorage proxy and I add records like this:


    recordData = {id:1,first_name:'fred'} //etc

    myStore =...
  20. Yup! Thanks.

    Yup! Thanks.
  21. Get the Record Id of a Record Added to LocalStorage

    Hi there,

    Anyone know how I can get the record id of a record added to a LocalStorage Store?

    I'm using :


    var addedRecord = Ext.getStore('MyStore').add(MyRecord); ...
  22. Replies
    9
    Views
    2,627

    Component DataView with Spinner

    Hi there,

    I'm trying to create a component based dataView. The DataView should have a dataItem that has a spinner.

    Can anyone help with how I achieve this using Sencha Architect?

    I've...
  23. Replies
    8
    Views
    2,485

    Distilled Example

    Any chance of a distilled example? In my app, I just need a dataView with a form and multiple dataItem's each with a spinner.

    If I wasn't using Architect, this would be pretty straightforward....
  24. Replies
    8
    Views
    2,485

    Object as a Property

    Found the solution on how to add an object as a property :

    http://www.sencha.com/forum/showthread.php?182924-Object-config-definitions-are-converted-to-strings.
  25. Replies
    8
    Views
    2,485

    Awesome - thanks for the post! Just working...

    Awesome - thanks for the post! Just working through this now...I just needed to know what to put in the override and this has helped thanks...

    Looking at App.view.EventListItem, you've this :
    ...
Results 1 to 25 of 46
Page 1 of 2 1 2