WebGridColumn Class

Definition

Represents a column in a WebGrid instance.

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

Constructors

WebGridColumn()

Initializes a new instance of the WebGridColumn class.

Properties

CanSort

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

ColumnName

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

Format

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

Header

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

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