New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Definition

Namespace:Telerik.Web.UI

Inheritance: Sys.ComponentTelerik.Web.UI.RadClientDataSource

Parameters

JS
Method(Object Description): void
Parameters:DescriptionObject

Events

Adds a change event handler for the radclientdatasource

JS
add_change
Parameters:handlerFunction

The event handler function to attach

Adds a command event handler for the radclientdatasource

JS
add_command
Parameters:handlerFunction

The event handler function to attach

Adds a customParameter event handler for the radclientdatasource

JS
add_customParameter
Parameters:handlerFunction

The event handler function to attach

Adds a dataParse event handler for the radclientdatasource

JS
add_dataParse
Parameters:handlerFunction

The event handler function to attach

Adds a dataRequested event handler for the radclientdatasource

JS
add_dataRequested
Parameters:handlerFunction

The event handler function to attach

Adds a requestEnd event handler for the radclientdatasource

JS
add_requestEnd
Parameters:handlerFunction

The event handler function to attach

Adds a requestFailed event handler for the radclientdatasource

JS
add_requestFailed
Parameters:handlerFunction

The event handler function to attach

Adds a requestStart event handler for the radclientdatasource

JS
add_requestStart
Parameters:handlerFunction

The event handler function to attach

Adds a sync event handler for the radclientdatasource

JS
add_sync
Parameters:handlerFunction

The event handler function to attach

Removes a change event handler from the radclientdatasource

JS
remove_change
Parameters:handlerFunction

The event handler function to remove

Removes a command event handler from the radclientdatasource

JS
remove_command
Parameters:handlerFunction

The event handler function to remove

Removes a customParameter event handler from the radclientdatasource

JS
remove_customParameter
Parameters:handlerFunction

The event handler function to remove

Removes a dataParse event handler from the radclientdatasource

JS
remove_dataParse
Parameters:handlerFunction

The event handler function to remove

Removes a dataRequested event handler from the radclientdatasource

JS
remove_dataRequested
Parameters:handlerFunction

The event handler function to remove

Removes a requestEnd event handler from the radclientdatasource

JS
remove_requestEnd
Parameters:handlerFunction

The event handler function to remove

Removes a requestFailed event handler from the radclientdatasource

JS
remove_requestFailed
Parameters:handlerFunction

The event handler function to remove

Removes a requestStart event handler from the radclientdatasource

JS
remove_requestStart
Parameters:handlerFunction

The event handler function to remove

Removes a sync event handler from the radclientdatasource

JS
remove_sync
Parameters:handlerFunction

The event handler function to remove

Methods

Appends a data item to the data source.

JS
add(Object values): void
Parameters:valuesObject

JSON formated values to insert as a new item

A method to returned the calculated aggregate values of the RadClientDataSource

JS
aggregates(): Object
Returns:

Object

Returns the aggregated values of the RadClientDataSource

Cancels any pending changes in the data source. Used with batch editing

JS
cancelChanges(): void

Method which return data from the web service after calling the select method from the transport settings

JS
fetch(Function callback): void
Parameters:callbackFunction

the callback function that will hold the returned data

Gets the collection of Telerik.Web.UI.ClientDataSourceAggregate in RadClientDataSource.

JS
get_aggregates(): Telerik.Web.UI.ClientDataSource.AggregateCollection
Returns:

Telerik.Web.UI.ClientDataSource.AggregateCollection

The collection of Telerik.Web.UI.ClientDataSourceAggregate items which are part of the RadClientDataSource.

Gets the RadClientDataSource.AllowBatchOperations value.

JS
get_allowBatchOperations(): Boolean
Returns:

Boolean

The RadClientDataSource.AllowBatchOperations value.

Gets the RadClientDataSource.AllowPaging value.

JS
get_allowPaging(): Boolean
Returns:

Boolean

The RadClientDataSource.AllowPaging value.

Gets the RadClientDataSource.CurrentPageIndex value.

JS
get_currentPageIndex(): Number
Returns:

Number

The RadClientDataSource.CurrentPageIndex value.

Gets the JSON data of the RadClientDataSource

JS
get_data(): Object
Returns:

Object

The data of the RadClientDataSource

Gets the kendoDataSource underlying widget. To use the exposed Kendo methods make sure you have the kendo.dataviz.d.ts file and cast the returned object to kendo.data.DataSource.

JS
get_dataSourceObject(): Object
Returns:

Object

The Kendo DataSource instance.

Gets the RadClientDataSource.EnableServerAggregates value.

JS
get_enableServerAggregates(): Boolean
Returns:

Boolean

The RadClientDataSource.EnableServerAggregates value.

Gets the RadClientDataSource.EnableServerFiltering value.

JS
get_enableServerFiltering(): Boolean
Returns:

Boolean

The RadClientDataSource.EnableServerFiltering value.

Gets the RadClientDataSource.EnableServerGrouping value.

JS
get_enableServerGrouping(): Boolean
Returns:

Boolean

The RadClientDataSource.EnableServerGrouping value.

Gets the RadClientDataSource.EnableServerPaging value.

JS
get_enableServerPaging(): Boolean
Returns:

Boolean

The RadClientDataSource.EnableServerPaging value.

Gets the RadClientDataSource.EnableServerSorting value.

JS
get_enableServerSorting(): Boolean
Returns:

Boolean

The RadClientDataSource.EnableServerSorting value.

Gets the collection of Telerik.Web.UI.ClientDataSourceFilterExpression in RadClientDataSource.

JS
get_filterExpressions(): Telerik.Web.UI.ClientDataSource.FilterExpressionCollection
Returns:

Telerik.Web.UI.ClientDataSource.FilterExpressionCollection

The collection of Telerik.Web.UI.ClientDataSourceFilterExpression items which are part of the RadClientDataSource.

Gets the collection of Telerik.Web.UI.ClientDataSource.GroupExpression in RadClientDataSource.

JS
get_groupExpressions(): Telerik.Web.UI.ClientDataSource.GroupExpressionCollection
Returns:

Telerik.Web.UI.ClientDataSource.GroupExpressionCollection

The collection of Telerik.Web.UI.ClientDataSource.GroupExpression items which are part of the RadClientDataSource.

Gets the RadClientDataSource.PageSize value.

JS
get_pageSize(): Number
Returns:

Number

The RadClientDataSource.PageSize value.

Gets the RadClientDataSource.Schema value.

JS
get_schema(): Telerik.Web.UI.ClientDataSourceSchema
Returns:

Telerik.Web.UI.ClientDataSourceSchema

The RadClientDataSource.Schema value.

Gets the collection of Telerik.Web.UI.ClientDataSourceSortExpression in RadClientDataSource.

JS
get_sortExpressions(): Telerik.Web.UI.ClientDataSource.SortExpressionCollection
Returns:

Telerik.Web.UI.ClientDataSource.SortExpressionCollection

The collection of Telerik.Web.UI.ClientDataSource.SortExpression items which are part of the RadClientDataSource.

Gets the total number of items in the RadClientDataSource

JS
get_totalItemsCount(): Number
Returns:

Number

The total number of items in the RadClientDataSource.

Gets the total number of pages in the RadClientDataSource

JS
get_totalPagesCount(): Number
Returns:

Number

The total number of pages in the RadClientDataSource.

Gets the RadClientDataSource.DataSource.WebServiceDataSourceSettings value.

JS
get_transport(): Telerik.Web.UI.DataSourceSettings.WebServiceDataSourceSettings
Returns:

Telerik.Web.UI.DataSourceSettings.WebServiceDataSourceSettings

The RadClientDataSource.DataSource.WebServiceDataSourceSettings value.

Gets the data item with the specified model id.

JS
getDataItemById(): void

Returns the data item at the specified index.

JS
getItemByIndex(): void

Checks if the data items have changed.

JS
hasChanges(): void

Inserts a data item in the data source at the specified index.

JS
insert(Number index): void
Parameters:indexNumber

the index at which the item will be inserted

Removes the specified data item from the data source.

JS
remove(): void

Sets the RadClientDataSource.AllowBatchOperations value.

JS
set_allowBatchOperations(): Boolean
Returns:

Boolean

The RadClientDataSource.AllowBatchOperations value.

Sets the RadClientDataSource.AllowPaging value.

JS
set_allowPaging(): Boolean
Returns:

Boolean

The RadClientDataSource.AllowPaging value.

Sets the RadClientDataSource.CurrentPageIndex value.

JS
set_currentPageIndex(): Number
Returns:

Number

The RadClientDataSource.CurrentPageIndex value.

Sets the JSON data of the RadClientDataSource

JS
set_data(): void

Sets the RadClientDataSource.EnableServerAggregates value.

JS
set_enableServerAggregates(): Boolean
Returns:

Boolean

The RadClientDataSource.EnableServerAggregates value.

Sets the RadClientDataSource.EnableServerFiltering value.

JS
set_enableServerFiltering(): Boolean
Returns:

Boolean

The RadClientDataSource.EnableServerFiltering value.

Sets the RadClientDataSource.EnableServerGrouping value.

JS
set_enableServerGrouping(): Boolean
Returns:

Boolean

The RadClientDataSource.EnableServerGrouping value.

Sets the RadClientDataSource.EnableServerPaging value.

JS
set_enableServerPaging(): Boolean
Returns:

Boolean

The RadClientDataSource.EnableServerPaging value.

Sets the RadClientDataSource.EnableServerSorting value.

JS
set_enableServerSorting(): Boolean
Returns:

Boolean

The RadClientDataSource.EnableServerSorting value.

Sets the RadClientDataSource.PageSize value.

JS
set_pageSize(): Number
Returns:

Number

The RadClientDataSource.PageSize value.

Persists any data item changes to the datasource. Calls the respective CRUd methods from the transport

JS
sync(): void

updates the values of the items with the specified model id

JS
update(Object newValues): void
Parameters:newValuesObject

JSON formated values to update in the item

Returns the data items which correspond to the current page, filter, sort and group configuration.

JS
view(): void
Not finding the help you need?
Contact Support