Search Type: Posts; User: danielleng

Search: Search took 0.02 seconds.

  1. Hey everyone, I seem to be unable to do callbacks when calling Model.save().

    Here is my save function:


    Record.save({
    callback: function(records, operation, success){
    ...
  2. Thanks a ton. That works perfectly.


    Ext.Loader.setConfig({
    enabled : true,
    paths : {
    'Ext.ux' : 'extjs/src/ux'
    }
    });
  3. Hey everyone, I seem to be having a problem importing Ext.ux.grid.FiltersFeature into my project. I have added all the required source code into my project, with the following directory structure in...
  4. You did not do what skirtle mentioned. You need to specify the LAYOUT of the panel so that your items inside the panel can be sized and placed properly.



    candidatesGridForm =...
  5. < What erik said.
    If it keeps showing "loading" it most probably means it was unable to complete a server-side method or query.
  6. Replies
    3
    Views
    2,815
    In your model's config try specifying the property
    {
    idProperty: 'rubId'
    }

    Every model needs to have an unique ID field, just like a database record. The default name for the id is...
  7. Replies
    14
    Views
    4,894
    So to summarize, I did not need to change my router.php at all. I just needed to change my server-side PHP method to return the results in the correct format like so:



    ...
  8. Replies
    14
    Views
    4,894
    stbeli: THANK YOU SO MUCH. I got it to work! Damn I actually thought of putting the total inside the 'result' array yesterday too.... but I had to take a break from coding for a while and forgot...
  9. Replies
    14
    Views
    4,894
    Hello Erikvp thank you for your reply. I missed your post earlier.

    Well I'm not using ajax requests so I thought readers would be useless for me... You need to specify a reader in order to set the...
  10. Replies
    14
    Views
    4,894
    Tried it, casted the value to an integer. Still not getting it to page. :s



    Any other tips ? This is just strange.
  11. Replies
    14
    Views
    4,894
    I still need help in this~
  12. Replies
    14
    Views
    4,894
    I managed to modify Router.php and got my JSON format returned like this:



    But i still can't get the paging toolbar to show the number of results.
    I called store.load() with the following...
  13. Replies
    14
    Views
    4,894
    Yes I am well aware of that... I could rewrite my PHP code to query the total number of results first, and then only query for the results. But how do I send the Total Number Of Results back to the...
  14. Replies
    14
    Views
    4,894
    Hey guys, I'm trying to implement a paging Ext.grid.Panel in my application.
    I have successfully posted [Object { page=1, start=0, limit=25}] to my PHP function, and queried the correct results....
  15. Thanks, understood it now.
  16. I don't think you actually need to specifically write the requires: config. I can create messageBoxes without it.

    Is your ComponentQuery for that "menu" item correct? Are u correctly referring to...
  17. Hey guys, right now I'm trying to get response from the server via a callback function, like this:


    QueryDatabase.validateLogin(email, password, function(response, e){
    ...
  18. I'm on ExtJs 4.0.7.
    Update: It hangs most often when I attempt to drag it around during the first 10 seconds or so of my app finishing loading all the components and panels.. Could it be that it...
  19. When I drag an Ext.window.Window it sometimes freezes/hangs and I can't close or minimize it anymore. It just grays out. Anyone experienced this before ?

    Here's my declaration... nothing fancy....
  20. You could at least split your code into 3 separate codetags, one for the form, one for the grid and one for the model... instead of dumping all into one... its hard to read that way...
    I'm looking...
  21. Spent some time refactoring my code. It seems "proper" now. Also customized the viewport and added "reset" and "refresh" button functionalities. Note that the Navigation panel and Test Form is for...
  22. Ahh, nvm. My question was answered here: http://docs.sencha.com/ext-js/4-0/#!/api/Ext.app.Application
  23. Oh and btw I implemented a form which links to the grid/database and allows the user to add their own data. If you're interested in the code I could upload it here.

    29501
    Cheers,
    Daniel
  24. Thank you for taking the time to link and quote those examples above. I understand it better now.
    I like the quoted example (above) of declaring Models/Stores/Controllers arrays in the...
  25. rakagod thank you very much this helps a lot. I've been in the dark about this tutorial cause I've never learned ExtJs 3... and as a newbie trying to get into Ext JS 4 AND trying to follow the new...
Results 1 to 25 of 25