Class Configuration
- Defined in: Configuration.nocache.js
Constructor Attributes | Constructor Name and Description |
---|---|
Configuration(meta)
This is the root Configuration object to configure RedQueryBuilder.
|
Method Summary
Class Detail
Configuration(meta)
This is the root Configuration object to configure RedQueryBuilder.
- Parameters:
- meta
Method Detail
-
defaultSuggest(request, callback)Initial request from the Suggestion Oracle.
- Parameters:
- {SuggestRequest} request
- details.
- {function} callback
- to return any suggestions.
-
enumerate(request, callback)Request from the Select editor etc.
- Parameters:
- {EnumerateRequest} request
- request details.
- {function} callback
- to return any suggestions. Can be an array of strings or array of {Suggestion}s.
-
onLoad()Notification that widget is fully loaded.
-
onSqlChange(sql, args)Notification of the SQL or argument values changing.
- Parameters:
- {string} sql
- the new SQL.
- {object[]} args
- the new argument values.
-
onTableChange(filters)Notification of the set of tables changing.
- Parameters:
- {TableFilter[]} filters
- the latest TableFilters.
-
suggest(request, callback)Request from the Suggestion Oracle.
- Parameters:
- {SuggestRequest} request
- details.
- {function} callback
- to return any suggestions.