Search Type: Posts; User: damo

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Hi Lakshman,

    I haven't tested this but maybe you can use the <input type="file"/> to select the XML file then parse it's contents. This link seems to assume so...
  2. Replies
    146
    Views
    35,270
    Excellent plugin!

    One problem I'm having at the moment is that combos do not display correctly in IE6, the dropdown fills the whole screen and the clear button on the right of the filters doesn't...
  3. Replies
    8
    Views
    944
    Have it handled by the controller class.

    The controller has a getter for the store if its part of the stores: [] config option that way you can do something like this.

    controller class

    ...
  4. Replies
    8
    Views
    944
    Do what you was doing before but use the optional callback of the load method.

    http://docs.sencha.com/ext-js/4-1/#!/api/Ext.data.Store-method-load
  5. Replies
    8
    Views
    1,322
    Not 100% sure I get what you are trying to do as you haven't posted all the code you mention.

    In your "open method" you could set the base param to what you need it to be.

    ...
  6. Ok no worries.

    Firstly change the json response to like so:


    {
    "success": false,
    "message": {
    "id": 71,
    "code": 3,
  7. Your center region will just be a container with the appropriate layout.
  8. Replies
    5
    Views
    1,019
    Ok, I think you need to confirm which library you are using, Extjs3/4, Sencha Touch 1/2 and maybe a quick code example.
  9. Yup, that's how I always do it, although use a container not panel as you won't need all the extra stuff panel gives.
  10. I was going to say to extend Ext.data.proxy.Ajax but I don't think it's needed.

    http://docs.sencha.com/ext-js/4-0/source/Ajax2.html#Ext-data-proxy-Ajax...
  11. In the success callback for the ajax request decode the json and check what the sucesss property equals, then show the data as required.

    E.g. Extjs3 code


    Ext.Ajax.request({

    url:...
  12. Replies
    5
    Views
    1,019
    I guess the easiest way would be the disable all the other tabs and on click of the save button enable the next tab.

    Also might be worth looking at putting the forms into a cardlayout.
  13. In the vast majority of my custom components I have something like the following.



    My.Component = Ext.extend( Ext.Button, {

    initComponent: function(){

    this.mon(this, "afterrender",...
  14. Check the JSON being returned to the dataview, the dataview just takes data and displays it accordingly it's nothing to do with dataview not supporting JPG.

    At first glance I would suggest this...
  15. Have the button itself monitor the context menu event.



    tbi.mon(tbi.getEl(), "contextmenu", function(){
    console.log("do something with " + this.hrefa );
    }, this);


    As Mitchell says above,...
  16. Replies
    15
    Views
    1,617
    I think using 2.0-beta2 corrects that issue Bill.

    Try this http://www.sencha.com/forum/showthread.php?192169-Important-SDK-Tools-Sencha-Command-Update
  17. Neither "should" be used, it depends on what your comfortable with using.

    Me personally I prefer to use the server side code to mainly get and set data and the ExtJS front end handle all the...
  18. Replies
    15
    Views
    1,617
    1.2.2 worked like a charm, thanks so much!

    Will keep that in mind about ExtJS4 as we also will be looking to migrate our apps over to it too.
  19. Replies
    15
    Views
    1,617
    Thanks! It was finding that which is what I was struggling with, couldn't remember the version I was using to search on.
  20. Replies
    15
    Views
    1,617
    I've tried JSBuilder 2 which is what I meant in the post above it, that doesn't work either.

    I just get a error which states "Exception in thread "main" ....: bad number in .class file"

    From...
  21. Replies
    15
    Views
    1,617
    Also I just tried to download JSBuilder3 as that's all I want out of this but returns different errors which seems to be dependancy related but there's no docs for it for me to look at any further...
  22. Replies
    15
    Views
    1,617
    I'm working with a ExtJS3 project.

    Previously the "sencha build" command took a jsb3 file and created a single js file from that jsb3 file.

    It was irrellevant what was even in your js files as...
  23. Replies
    15
    Views
    1,617
    Nope downloaded that and it's still not working.

    Just get a blank line in the cmd prompt and nothing created in the js folder.
  24. Replies
    15
    Views
    1,617
    Downloaded the latest SDK tools from the ExtJS 4 product page which is version 2.0.0.

    I cannot seem to get this to work no matter what I do.

    I am trying to use this commad as I'm working with...
  25. Given your example above it's just.


    var div = Ext.select('#ext div');
    div.getCount() // 3

    If the HTML is more complex then use the relevant css style selector e.g.


    ('#ext > div')
Results 1 to 25 of 42
Page 1 of 2 1 2