1. #1
    Sencha User
    Join Date
    Oct 2011
    Posts
    11
    Vote Rating
    0
    gnanbu is on a distinguished road

      0  

    Exclamation How To get File Upload button in EXT JS Designer

    How To get File Upload button in EXT JS Designer


    Hi All,
    How can i get file upload button or browse button in EXT Designer Tool. Can any one tell me how can get this.

  2. #2
    Sencha Premium Member
    Join Date
    May 2010
    Location
    Guatemala, Central America
    Posts
    1,261
    Vote Rating
    79
    ssamayoa is a jewel in the rough ssamayoa is a jewel in the rough ssamayoa is a jewel in the rough ssamayoa is a jewel in the rough

      0  

    Default


    What do you mean?

    File upload component is there...
    UI: Sencha Architect 3.x / ExtJS 4 & 5
    Server side: JEE / EJB 3.x / CDI / JPA 2.x/ JAX-RS / JasperReports
    Application Server: Glassfish / WildFly
    Databases: Oracle / DB2 / MySQL / Firebird

    If you like my answer please vote!

  3. #3
    Sencha Premium Member lorezyra's Avatar
    Join Date
    Dec 2007
    Location
    Japan -- 日本
    Posts
    575
    Vote Rating
    6
    lorezyra will become famous soon enough

      0  

    Default Ext.form.field.File

    Ext.form.field.File


    Have you tried to use the toolbox filter for "file" ??

    I promise you, this component is there!

    File_Upload.PNG
    Perfection as a goal is a nice idea that can point one in a specific direction. However, since "perfection" is an ever changing (evolving?) and moving target, one must admit that perfection can never be obtained...

    When in doubt, check the d4mn source code!

  4. #4
    Sencha Premium Member lorezyra's Avatar
    Join Date
    Dec 2007
    Location
    Japan -- 日本
    Posts
    575
    Vote Rating
    6
    lorezyra will become famous soon enough

      0  

    Default Ext.form.TextField

    Ext.form.TextField


    However, if you are using a 3.3.x project... then you should use the TextField component. Just change the inputType property to "file" in the component config...


    Code:
    MyTextFieldUi = Ext.extend(Ext.form.TextField, {
        inputType: 'file',
    
        initComponent: function() {
            MyTextFieldUi.superclass.initComponent.call(this);
        }
    });
    Perfection as a goal is a nice idea that can point one in a specific direction. However, since "perfection" is an ever changing (evolving?) and moving target, one must admit that perfection can never be obtained...

    When in doubt, check the d4mn source code!

Thread Participants: 2