Kentico CMS 7.0 Controls

Configuration

Configuration

Previous topic Next topic Mail us feedback on this topic!  

Configuration

Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic!  

The following properties of the BasicDataGrid control can be set or used in the API:

 

Property Name

Description

Sample Value

DataBindByDefault

Indicates whether data binding should be performed by default during the init event.

 

HideControlForZeroRows

Indicates whether the control should be hidden when no data is loaded. The default value is False.

 

ProcessSorting

Indicates whether sorting should be processed in the DataView instead of sorting on the SQL level.

 

RelatedData

Custom data connected to the object.

 

SetFirstPageAfterSortChange

Indicates if the page index should be set to the first page when sorting is changed.

 

SortAscending

Indicates whether sorting should be ascending. Default value is True.

 

SortField

Gets or sets the sort field. It can be used for setting the default sort field.

"NewsReleaseDate"

ZeroRowsText

Text to be shown when the control is hidden by the HideControlForZeroRows property.

"No records found"

 

As this control is inherited from the ASP.NET DataGrid control, it also has all of its standard properties.