[]
        
(Showing Draft Content)

C1.Web.Mvc.IItemsSource-1

IItemsSource<T> Interface

The interface of items source.

Namespace: C1.Web.Mvc
Assembly: C1.Web.Mvc.dll
Syntax
public interface IItemsSource<T>
Type Parameters
Name Description
T

Properties

Name Description
BatchEdit

Gets or sets whether modifications will be sent to the server in batches or as individually requests.

BatchEditActionUrl

Gets and sets the url of batch edit action.

CreateActionUrl

Gets and sets the url of create action.

DeleteActionUrl

Gets and sets the url of delete action.

DisableServerRead

Gets or sets whether to disable server-side reading.

Filter

Gets or sets a method used to determine if an item is suitable for inclusion in the view.

GetError

Gets or sets a callback that determines whether a specific property of an item contains validation errors.

GroupDescriptions

Gets the group description collection.

InitialItemsCount

Gets or sets a number value which decides the count of the initial loaded items.

NewItemCreator

Gets or sets a function that creates new items for the collection.

OnClientCollectionChanged

Occurs when the collection changes.

OnClientCurrentChanged

Occurs after the current item changes.

OnClientCurrentChanging

Occurs before the current item changes.

OnClientError

Occurs when there are errors from the server side.

OnClientPageChanged

Occurs after the page index changes.

OnClientPageChanging

Occurs before the page index changes.

OnClientQueryComplete

Occurs when the query requests complete.

OnClientQueryData

Gets or sets the name JavaScript function which to collect the ajax query data.

OnClientSourceCollectionChanged

Occurs after the sourceCollection property in client changes.

OnClientSourceCollectionChanging

Occurs before the sourceCollection property in client changes.

PageIndex

Gets or sets the page index.

PageSize

Gets or sets the page size. When page size is 0, paging is disabled.

ReadActionUrl

Gets and sets the url of read action.

SortDescriptions

Gets the sort description collection.

SourceCollection

Gets or sets the source collection.

UpdateActionUrl

Gets and sets the url of update action.