Class: CFilesEditor

CFilesEditor()

File upload editor class.

Constructor

new CFilesEditor()

Parameters:
Name Type Description
this.props.column Object Table column.
Properties
Name Type Description
name string Column name
editor_default * Editor default value
editor_min_upload_count Integer Minimum files count
editor_max_upload_count Integer Maximum files count
editor_max_upload_size Integer Maximum upload size
editor_allowed_ext Array List of allowed extention
this.props.row Object Row to edit, null if add, first if batch.
this.props.add bool Is adding.
this.props.batch bool Is batch editing.
this.props.onEditorChanges CTable#onEditorChanges Editor changes callback.
this.props.onDownloadFile CTable#onDownloadFile Download file callback.
this.props.onUploadFile CTable#onUploadFile Upload file callback.
this.props.askUser CTable#askUser Ask user callback.
this.props.showError CTable#showError Show error callback.
Source:

Methods

onNullClicked()

Request to set value to NULL.
Source:
Listens to Events:

onOtherEditorChanged()

Notifiaction for changes in some editor.
Source:
Listens to Events:

onResetClicked()

Request to set value to Default
Source:
Listens to Events:

onUndoClicked()

Request to set value to value at start editing.
Source:
Listens to Events: