new QuerySelectItem(config)
Item to select table to display data from.
Parameters:
Name |
Type |
Description |
config |
Object
|
Configuration for this object. The config supplied directly extends the control |
Members
active
Properties:
Name |
Type |
Description |
active |
bool
|
boolean indicating if control is active. |
collateResults
Properties:
Name |
Type |
Description |
collateResults |
bool
|
boolean indicating if all results are returned at once. |
events
Properties:
Name |
Type |
Description |
events |
Array.<Object>
|
array of events. |
expressionBuilder
Properties:
labels
Properties:
Name |
Type |
Description |
labels |
Object
|
label object. |
parentContainer
Properties:
Name |
Type |
Description |
parentContainer |
Object
|
DOM object holding the control |
queryHelper
Properties:
showCount
Properties:
Name |
Type |
Description |
showCount |
bool
|
Boolean indicating whether to return a full item count. |
Methods
destroy()
Destroys the object and all of it's descendents.
(protected) featuresCounted_handler(eventArgs)
Handles the features counted event.
Parameters:
Name |
Type |
Description |
eventArgs |
Object
|
|
getAll(total)
Parameters:
Name |
Type |
Description |
total |
number
|
number of results to get |
getNext(startPoint)
Parameters:
Name |
Type |
Description |
startPoint |
number
|
point the query starts from. |
(protected) itemPopulated_handler(eventArgs)
Handles the item populated event.
Parameters:
Name |
Type |
Description |
eventArgs |
Object
|
|
(protected) populateColumns(schemaObject)
Populates the columns from the schema object.
Parameters:
Name |
Type |
Description |
schemaObject |
type
|
|
(protected) queryComplete_handler(eventArgs)
Handles the query complete event.
Parameters:
Name |
Type |
Description |
eventArgs |
Object
|
|
(protected) queryError_handler(eventArgs)
Handles the query error event.
Parameters:
Name |
Type |
Description |
eventArgs |
Object
|
|
(protected) schemaLoaded_handler(e)
Loads columns from the schema.
Parameters:
Name |
Type |
Description |
e |
Object
|
event args |
Events
FeaturesCounted
Event to indicate that features have been counted
Type:
ItemPopulated
Event to indicate that item has been populated
Type:
QueryComplete
Event to indicate that query has finished executing
Type:
QueryError
Event to indicate that query has failed executing
Type: