Properties Methods Events Config Options Direct Link

# Class Ext.ux.form.FileUploadField

Package: | Ext.ux.form
Defined In: | ux-all-debug.js
Class: | FileUploadField
Extends: | Object

Creates a file upload field.

## Config Options

Config Options | Defined By
--- | ---
| buttonCfg : Object A standard Ext.Button config object. | FileUploadField
| buttonCfg : Object A standard Ext.Button config object. | FileUploadField
| buttonOffset : Number The number of pixels of space reserved between the button and the text field (defaults to 3). Note that this only ap... The number of pixels of space reserved between the button and the text field (defaults to 3). Note that this only applies if buttonOnly = false. | FileUploadField
| buttonOffset : Number The number of pixels of space reserved between the button and the text field (defaults to 3). Note that this only ap... The number of pixels of space reserved between the button and the text field (defaults to 3). Note that this only applies if buttonOnly = false. | FileUploadField
| buttonOnly : Boolean True to display the file upload field as a button with no visible text field (defaults to false). If true, all inher... True to display the file upload field as a button with no visible text field (defaults to false). If true, all inherited TextField members will still be available. | FileUploadField
| buttonOnly : Boolean True to display the file upload field as a button with no visible text field (defaults to false). If true, all inher... True to display the file upload field as a button with no visible text field (defaults to false). If true, all inherited TextField members will still be available. | FileUploadField
| buttonText : String The button text to display on the upload button (defaults to 'Browse...'). Note that if you supply a value for butto... The button text to display on the upload button (defaults to 'Browse...'). Note that if you supply a value for buttonCfg, the buttonCfg.text value will be used instead if available. | FileUploadField
| buttonText : String The button text to display on the upload button (defaults to 'Browse...'). Note that if you supply a value for butto... The button text to display on the upload button (defaults to 'Browse...'). Note that if you supply a value for buttonCfg, the buttonCfg.text value will be used instead if available. | FileUploadField

## Public Properties

This class has no public properties.

## Public Methods

This class has no public methods.

## Public Events

Event | Defined By
--- | ---

fileselected : ( `Ext.ux.form.FileUploadField this`, `String value` )
Fires when the underlying file input field's value has changed from the user selecting a new file from the system fil...
Fires when the underlying file input field's value has changed from the user selecting a new file from the system file selection dialog.
Listeners will be called with the following arguments:

- `this` : Ext.ux.form.FileUploadField
- `value` : String
  The file value returned by the underlying file input field

FileUploadField

fileselected : ( `Ext.ux.form.FileUploadField this`, `String value` )
Fires when the underlying file input field's value has changed from the user selecting a new file from the system fil...
Fires when the underlying file input field's value has changed from the user selecting a new file from the system file selection dialog.
Listeners will be called with the following arguments:

- `this` : Ext.ux.form.FileUploadField
- `value` : String
  The file value returned by the underlying file input field

FileUploadField