Class links.CouchConnector
Defined in: treegrid.js.
Constructor Attributes | Constructor Name and Description |
---|---|
links.CouchConnector(url)
|
Method Attributes | Method Name and Description |
---|---|
getChanges(index, num, items, callback, errback)
|
|
getItems(index, num, callback, errback)
|
|
setFiltering(filters)
Set a filter for this DataTable
|
|
setSorting(sorting)
Set a filter for this DataTable
|
Class Detail
links.CouchConnector(url)
- Parameters:
- {String} url
- Url can point to a database or to a view
Method Detail
getChanges(index, num, items, callback, errback)
- Parameters:
- index
- num
- items
- callback
- errback
getItems(index, num, callback, errback)
- Parameters:
- index
- num
- callback
- errback
setFiltering(filters)
Set a filter for this DataTable
- Parameters:
- {Object[]} filters
- An array containing filter objects. a filter object contains parameters field, value, startValue, endValue
setSorting(sorting)
Set a filter for this DataTable
- Parameters:
- {Object[]} sorting
- An array containing one or multipel objects. contains parameters `field`, `order`