IRemoteCollectionViewSettings Interface
File
c1.mvc.collections.js
Module
c1.mvc.collections

The RemoteCollectionView startup options.

Properties

batchEdit

A boolean value indicates whether to edit items in batch.

Type
boolean

batchEditActionUrl

The url for batch editing items.

Type
string

calculatedFields

An object of calculated fields setting.

Type
any

createActionUrl

The url for creating item.

Type
string

deleteActionUrl

The url for deleting item.

Type
string

disableServerRead

A boolean value indicates whether to get and cache all server side data. True means to get all server side data and cache them in client side, then not to call server side to fetch data for later.

Type
boolean

error

The error event which raises when there are errors from the server side.

Type
IEventHandler

groupDescriptions

An array of IGroupDescription for group setting.

Type
IGroupDescription[]

initialItemsCount

The count of the data which are read from server side at first time.

Type
number

pageIndex

The page index.

Type
number

pageSize

The page size.

Type
number

queryComplete

The queryComplete event which raises when the query requests complete.

Type
IEventHandler

queryData

The queryData event which raises when collect the ajax query data.

Type
IEventHandler

readActionUrl

The url for reading data.

Type
string

refreshOnEdit

A boolean value indicates whether to refresh all cells after a cell is edited.

Type
boolean

reponseTextParsing

Occurs when parsing the response text.

Type
IEventHandler

requestDataStringifying

Occurs when serializing the request data.

Type
IEventHandler

sortDescriptions

An array of ISortDescription for sort setting.

Type
ISortDescription[]

sourceCollection

The underlying (unfiltered and unsorted) collection.

Type
any

updateActionUrl

The url for updating item.

Type
string