Метод | Описание | |
---|---|---|
dataBind ( ) | Performs databinding. | |
dataSourceViewChanged ( $sender, $param ) | ||
getAllowCustomPaging ( ) : boolean | ||
getAllowPaging ( ) : boolean | ||
getCurrentPageIndex ( ) : integer | ||
getDataMember ( ) | ||
getDataSource ( ) : Traversable | ||
getDataSourceID ( ) : string | ||
getPageCount ( ) : integer | ||
getPageSize ( ) : integer | ||
getSelectParameters ( ) | ||
getVirtualItemCount ( ) : integer | ||
onDataBound ( $param ) | Raises OnDataBound event. | |
onDataSourceChanged ( ) | Sets {@link setRequiresDataBinding RequiresDataBinding} as true if the control is initialized. | |
onInit ( $param ) | Sets page's OnPreLoad event handler as {@link pagePreLoad}. | |
onPreRender ( $param ) | Ensures any pending databind is performed. | |
pagePreLoad ( $sender, $param ) | Sets {@link getInitialized} as true. | |
setAllowCustomPaging ( $value ) | Sets a value indicating whether the custom paging should be enabled. | |
setAllowPaging ( $value ) | ||
setCurrentPageIndex ( $value ) | ||
setDataMember ( $value ) | ||
setDataSource ( $value ) | Sets the data source object associated with the databound control. | |
setDataSourceID ( $value ) | ||
setPageSize ( $value ) | ||
setVirtualItemCount ( $value ) |
Метод | Описание | |
---|---|---|
createPagedDataSource ( ) : |
||
determineDataSource ( ) | ||
ensureDataBound ( ) | Ensures any pending {@link dataBind} is called. | |
getDataSourceView ( ) | ||
getInitialized ( ) : boolean | ||
getIsDataBound ( ) : boolean | ||
getRequiresDataBinding ( ) : boolean | ||
getUsingDataSourceID ( ) : boolean | ||
performDataBinding ( $data ) | ||
setInitialized ( $value ) | Sets a value indicating whether the databound control is initialized. | |
setIsDataBound ( $value ) | ||
setRequiresDataBinding ( $value ) | Sets a value indicating whether a databind call is required by the data bound control. | |
validateDataSource ( $value ) : Traversable | Validates if the parameter is a valid data source. |
protected createPagedDataSource ( ) : |
||
Результат | creates a paged data source |
public dataBind ( ) |
protected ensureDataBound ( ) |
public getAllowCustomPaging ( ) : boolean | ||
Результат | boolean | whether the custom paging is enabled. Defaults to false. |
public getAllowPaging ( ) : boolean | ||
Результат | boolean | whether paging is enabled. Defaults to false. |
public getCurrentPageIndex ( ) : integer | ||
Результат | integer | the zero-based index of the current page. Defaults to 0. |
public getDataSource ( ) : Traversable | ||
Результат | Traversable | data source object, defaults to null. |
public getDataSourceID ( ) : string | ||
Результат | string | ID path to the data source control. Defaults to empty. |
protected getInitialized ( ) : boolean | ||
Результат | boolean | whether the databound control has been initialized. By default, the control is initialized after its viewstate has been restored. |
protected getIsDataBound ( ) : boolean | ||
Результат | boolean | whether databind has been invoked in the previous page request |
public getPageCount ( ) : integer | ||
Результат | integer | number of pages of data items available |
public getPageSize ( ) : integer | ||
Результат | integer | the number of data items on each page. Defaults to 10. |
protected getRequiresDataBinding ( ) : boolean | ||
Результат | boolean | whether a databind call is required (by the data bound control) |
protected getUsingDataSourceID ( ) : boolean | ||
Результат | boolean | if the databound control uses the data source specified by {@link setDataSourceID}, or it uses the data source object specified by {@link setDataSource}. |
public getVirtualItemCount ( ) : integer | ||
Результат | integer | virtual number of data items in the data source. Defaults to 0. |
public onDataBound ( $param ) |
public onDataSourceChanged ( ) |
public onInit ( $param ) |
public onPreRender ( $param ) |
public pagePreLoad ( $sender, $param ) |
public setAllowCustomPaging ( $value ) |
public setDataSource ( $value ) |
protected setInitialized ( $value ) |
protected setRequiresDataBinding ( $value ) |
protected validateDataSource ( $value ) : Traversable | ||
Результат | Traversable | the data that is traversable |