ComboBox.RemoteDataSource

dataSource which wrap IO utility. xclass: 'combobox-RemoteDataSource'.

parents: Base

defined in: remoteDataSource.js

Attributes

  • allowEmpty {Boolean} whether send empty to server when input val is empty.default:false
  • cache {Boolean} Whether server response data is cached.default:false
  • paramName {String} Used as parameter name to send combobox input's value to server
  • parse {Function} Serve as a parse function to parse server response to return a valid array of data for comboBox.
  • xhrCfg {Object} IO configuration.same as {@link} IO

Methods

  • fetchData (inputVal, callback, context) Data source interface.

Class Detail

  • ComboBox.RemoteDataSource ()
    dataSource which wrap IO utility. xclass: 'combobox-RemoteDataSource'.

Attributes Detail

  • allowEmpty {Boolean} whether send empty to server when input val is empty.default:false
  • cache {Boolean} Whether server response data is cached.default:false
  • paramName {String} Used as parameter name to send combobox input's value to server
  • parse {Function} Serve as a parse function to parse server response to return a valid array of data for comboBox.
  • xhrCfg {Object} IO configuration.same as {@link} IO

Methods Detail

  • fetchData (inputVal, callback, context) view source
    Data source interface. How to get data for comboBox
    Parameters
    •   inputVal {String} current active input's value
    •   callback {Function} callback to notify comboBox when data is ready
    •   context {Object} callback 's execution context
blog comments powered by Disqus
Top