WebGridColumn WebGridColumn WebGridColumn Class

Definition

Represents a column in a WebGrid instance.

public class WebGridColumn
type WebGridColumn = class
Public Class WebGridColumn
Inheritance
WebGridColumnWebGridColumnWebGridColumn

Constructors

WebGridColumn() WebGridColumn() WebGridColumn()

Initializes a new instance of the WebGridColumn class.

Properties

CanSort CanSort CanSort

Gets or sets a value that indicates whether the WebGrid column can be sorted.

ColumnName ColumnName ColumnName

Gets or sets the name of the data item that is associated with the WebGrid column.

Format Format Format

Gets or sets a function that is used to format the data item that is associated with the WebGrid column.

Header Header Header

Gets or sets the text that is rendered in the header of the WebGrid column.

Style Style Style

Gets or sets the CSS class attribute that is rendered as part of the HTML table cells that are associated with the WebGrid column.

Applies to