Show / Hide Table of Contents

Class JqGridColumnLayoutAttribute

Specifies the layout attributes of grid column

Inheritance
System.Object
JqGridColumnLayoutAttribute
Namespace: Lib.AspNetCore.Mvc.JqGrid.DataAnnotations
Assembly: Lib.AspNetCore.Mvc.JqGrid.DataAnnotations.dll
Syntax
public sealed class JqGridColumnLayoutAttribute : Attribute

Constructors

JqGridColumnLayoutAttribute()

Initializes a new instance of the JqGridColumnLayoutAttribute class.

Declaration
public JqGridColumnLayoutAttribute()

Properties

Alignment

Gets or sets the alignment of the cell in the grid body layer.

Declaration
public JqGridAlignments Alignment { get; set; }
Property Value
Type Description
JqGridAlignments

CellAttributes

Gets or sets the function which can add attributes to the cell during the creation of the data (dynamically).

Declaration
public string CellAttributes { get; set; }
Property Value
Type Description
System.String

Classes

Gets or sets additional CSS classes for the column (separated by space).

Declaration
public string Classes { get; set; }
Property Value
Type Description
System.String

Fixed

Gets or sets the value which defines if internal recalculation of the width of the column is disabled (default false).

Declaration
public bool Fixed { get; set; }
Property Value
Type Description
System.Boolean

Frozen

Gets or sets the value indicating if column shouldn't scroll out of view when user is moving horizontally across the grid.

Declaration
public bool Frozen { get; set; }
Property Value
Type Description
System.Boolean

HideInDialog

Gets or sets the value which defines if column will appear in the modal dialog where users can choose which columns to show or hide.

Declaration
public bool HideInDialog { get; set; }
Property Value
Type Description
System.Boolean

Resizable

Gets or sets the value which defines if column can be resized (default true).

Declaration
public bool Resizable { get; set; }
Property Value
Type Description
System.Boolean

Title

Gets or sets the value which defines if the title should be displayed in the column when user hovers a cell with the mouse.

Declaration
public bool Title { get; set; }
Property Value
Type Description
System.Boolean

Viewable

Gets or sets the value which defines if the column should appear in view form.

Declaration
public bool Viewable { get; set; }
Property Value
Type Description
System.Boolean

Width

Gets or sets the initial width in pixels of the column (default 150).

Declaration
public int Width { get; set; }
Property Value
Type Description
System.Int32
Back to top Copyright © 2016 - 2019 Tomasz Pęczek