Search Type: Posts; User: JoelB

Search: Search took 0.01 seconds.

  1. And the owners of the other components too.. since they are all relativly slow compared to the ones in other framework such as sencha touch or dijit. And with realtively slow I measured 25 times...
  2. Replies
    4
    Views
    952
    The problem is that I see an issue with the other rendering speeds too using e.g. Ext.form.Text.

    parent = whateverComponent;


    time = Date.now();
    for(i = 0; i<200; i++){
    b = new...
  3. Replies
    4
    Views
    952
    Well ofc not.

    But its much easier to see the problem when its a bit blown up. I mean anything above 0.03s causes choppyness in animations and i would say that above 0.2 it is noticable and 12 is...
  4. Replies
    4
    Views
    952
    Hi,

    I did some tests on my project using Sencha Touch, ExtJs and Dijit performing the same task of placing 200 buttons on the page since I had noticed some performance issues:

    Sencha Touch...
  5. WTF!... Still missing images!
    Spinners for forms components to name one.
    (:|
  6. Well resizing the components on resize I have solved like you, by listening for resize events. But the first issue was a bit different, like this:
    1. Create a button (mybutton) and render to a dom....
  7. Hi,

    I have components such as textfields that I for different reasons have to have in a non Ext container such as a normal div. Then I set width and height using setWidth / setHeight, which works...
  8. Replies
    4
    Views
    704
    Ext.onReady works fine but does create some issues with asyncronicity in functions where I dont want it ;). Oh well, thank you for the good answer at least.

    But I have to say I think that its...
  9. Actually that code works in the console without setTimeout but if you write the same console.log statement again manually (that is a little later) the array is empty.

    Something in the lifecycle...
  10. Hi,

    I am creating a store without data in it and later supply both data and model. But there seems to be a race condition between creating the store and setting the data. If I set the data and...
  11. Replies
    4
    Views
    704
    Please smart people! If I am making no sense or supplying the wrong info, please let me know.
    //J
  12. Replies
    4
    Views
    704
    Hi,


    I get a wierd error that has something to do with the loader and the pahts.
    I have loaded the page and Ext-all. Then I define the component ExtPage, which in turn inherits from a custom...
  13. Solved:
    - Just not do the read at end and theres no extra requests.
    - Since I set the model on the reader it is inferred on the store causing the implicitModel property to be set which will destroy...
  14. Ok Partly resolved:


    var myStore = Ext.create('Ext.data.Store', {
    fields: [],
    proxy: {
    type: 'ajax',
    url: 'labb.json',
    reader: {
    type: 'json',
  15. This still requires 2 queries. I would like/need to infer the model from the data received.

    Who is actually making the query and when is it actually populating the datastore?
    Would it somehow be...
  16. Thanks sdt6585,

    The thing is that I need the store to be a rest loaded store that possibly only loads parts of a much larger data set depending on what is viewed in say a table. Of course I could...
  17. If I dont know the structure of the data that I wish to load into a store I found that I could create the store with an empty field config:




    var myStore = Ext.create('Ext.data.Store', {
    ...
  18. Replies
    125
    Views
    102,511
    +1 for this too

    But why on earth cant we set 100% width on a panel ??? To always have to set the pixel width on resize sounds so ... heavy.

    //J
  19. I ran into the exact same issue. Please by all the patterns we hold dear, dont add global classes or polute the global namespace.

    And specially with propeties without a settable default such as...
Results 1 to 19 of 19