Search Type: Posts; User: chinabuffet

Page 1 of 5 1 2 3 4

Search: Search took 0.04 seconds.

  1. Yeah that's definitely possible. I added an e.preventDefault(); into that method as part of an override, like so:



    doBlurInput: function(e) {
    var target = e.target,
    ...
  2. That was inside a Cordova web view on iOS 7. Happens on both the simulator + the actual device.
  3. In Sencha Touch, the Viewport will try and detect when you tap away from an input field you're editing so that the keyboard is automatically dismissed. After a lot of digging, I tracked this...
  4. That fiddle reproduces the problem for me. The first time you load the page, the id 101 is printed as a number. If you then delete the following lines:



    var item = Ext.create('Item',...
  5. Because one of the nice things about having a dedicated Model class is being able to define an API on it, particularly for calculated fields. The getFullName method mentioned earlier in this thread...
  6. Sure you can move it into the Sencha Touch bugs forum.
  7. It seems like the latest version of Ext (as shown in the fiddle) has a different implementation of Ext.Date.add, and seems to be working correctly at first glance (at least in terms of my test case,...
  8. I thought I created this bug post in the Sencha Touch forums :-/

    It was w/ Sencha Touch though, if you adjust the fiddle to use 2.3.1 you can see it. That Sencha fiddle thing is pretty neat,...
  9. Yeah I understand that, but when using the Store + XTemplate combination (like in the case of a List) how would you provide a model reference into the template data like you did in your example?
  10. The code inside Ext.Date.add assumes there are always the same number of milliseconds in a given day (86400000), which isn't the case on days affected by DST.

    Here's a simple test case:



    var...
  11. Why was this closed?
  12. Is there a way to make that kind of thing work with a Store + List? What I'm doing for the time being is:



    prepareData: function(data, index, record) {
    data.modelRef = record;


    ...
  13. Has anyone found an updated way (hopefully supported directly in the framework) for doing this?

    I can see the argument of having the Controller or some kind of formatting utility class do this...
  14. Huh? The proxy does an Ext.decode on the raw JSON object stored in Local Storage, see the 2 comments I added to the snippet from Ext.data.proxy.WebStorage below:


    getRecord: function(id) {
    ...
  15. To implement caching/offline storage in my application, I'm using a Store extension I made that has an internal store property with a LocalStorage proxy. When the primary store retrieves data from...
  16. That's fair I suppose ~o)

    I'm starting a large project that will have a few different cooks in the kitchen, so I was hoping to nip that problem in the bud by identifying and setting some good...
  17. Thanks for the reply. In regards to using CSS for positioning the left right items, I was wondering if there was a recommended way of doing so. I watched one Sencha video online where changing...
  18. Say (for example purposes) you have an Ext.List representing a list of items. On each row, the name of the item is displayed on the left, and the count of the item is displayed on the right. The...
  19. Is saving a model with a hasOne association supported yet? I found some old posts from around a year ago saying that it wasn't yet...

    I'm trying it in 4.1, and when I save a model (using a...
  20. I have a store which is configured with a model that uses a has one association. The store loads from a data source that populates both the model and its nested associated data. If I reload that...
  21. Yeah right now I'm manually firing the change event, but that's pretty hacky :s It seems weird to even expose a public API for interacting with a control if it doesn't behave the same way as when a...
  22. Is there any reason that the toggle() method of the Ext.field.Toggle doesn't fire the change event, but manually clicking the field does fire that event? Is there a different event I could listen to...
  23. I'm trying to add some custom date formatters to be used inside of XTemplates, and according to the API documentation for Ext.Date.formatFunctions, custom formatting functions added to this object...
  24. Replies
    5
    Views
    1,110
    I'm also seeing this problem in 2.0.1 still.
  25. Always make sure you run this.callParent() or this.callParent(arguments)
    Lists don't actually have a title configuration option, you'll have to set the title on some kind of parent component.
    ...
Results 1 to 25 of 102
Page 1 of 5 1 2 3 4

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar