SaaS CMS has officially launched! Learn more now.

Class JsGrid

ExtJs client grid

Inheritance
System.Object
JsGrid
Namespace: Mediachase.BusinessFoundation
Assembly: Mediachase.BusinessFoundation.dll
Version: 11.8.3
Syntax
public class JsGrid : ScriptControl

Constructors

JsGrid()

Declaration
public JsGrid()

Fields

divGrid

Declaration
protected HtmlGenericControl divGrid
Field Value
Type Description
System.Web.UI.HtmlControls.HtmlGenericControl

divLayout

Declaration
protected HtmlGenericControl divLayout
Field Value
Type Description
System.Web.UI.HtmlControls.HtmlGenericControl

divPaging

Declaration
public HtmlGenericControl divPaging
Field Value
Type Description
System.Web.UI.HtmlControls.HtmlGenericControl

hfGridAttributes

Declaration
public HiddenField hfGridAttributes
Field Value
Type Description
System.Web.UI.WebControls.HiddenField

hfGridCheckedValues

Declaration
public HiddenField hfGridCheckedValues
Field Value
Type Description
System.Web.UI.WebControls.HiddenField

hfUpdate

Declaration
protected HiddenField hfUpdate
Field Value
Type Description
System.Web.UI.WebControls.HiddenField

Properties

AllowClientDrag

Gets or sets a value indicating whether [allow client drag].

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

true if [allow client drag]; otherwise, false.

AllowRowDragAndDrop

Gets or sets a value indicating whether [allow row drag and drop].

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

true if [allow row drag and drop]; otherwise, false.

BaseGridView

Gets or sets the base grid view.

Declaration
public GridView BaseGridView { get; set; }
Property Value
Type Description
System.Web.UI.WebControls.GridView

The base grid view.

CheckedCollection

Gets the checked collection.

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

The checked collection.

ColumnArray

Gets or sets the column array.

Declaration
public List<JsGridColumnInfo> ColumnArray { get; set; }
Property Value
Type Description
System.Collections.Generic.List<JsGridColumnInfo>

The column array.

ContextKey

Gets or sets the context key.

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

The context key.

DisableClientSorting

Gets or sets a value indicating whether [disable client sorting].

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

true if [disable client sorting]; otherwise, false.

EditEnable

Gets or sets a value indicating whether [edit enable].

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

true if [edit enable]; otherwise, false.

EnableModalPopup

Gets or sets a value indicating whether [enable modal popup].

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

true if [enable modal popup]; otherwise, false.

NoItemMsg

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

PopupImageUrl

Gets or sets the popup image URL.

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

The popup image URL.

ServicePath

Gets or sets the service path.

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

The service path.

ShowCheckboxes

Gets or sets a value indicating whether [show checkboxes].

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

true if [show checkboxes]; otherwise, false.

ShowHeaderOnly

Gets or sets a value indicating whether [show header only].

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

true if [show header only]; otherwise, false.

Methods

GetScriptDescriptors()

Gets the script descriptors.

Declaration
protected override IEnumerable<ScriptDescriptor> GetScriptDescriptors()
Returns
Type Description
System.Collections.Generic.IEnumerable<System.Web.UI.ScriptDescriptor>

GetScriptReferences()

Gets the script references.

Declaration
protected override IEnumerable<ScriptReference> GetScriptReferences()
Returns
Type Description
System.Collections.Generic.IEnumerable<System.Web.UI.ScriptReference>

OnCommand(Object, JsGridCommandEventArgs)

Declaration
protected virtual void OnCommand(object sender, JsGridCommandEventArgs e)
Parameters
Type Name Description
System.Object sender
JsGridCommandEventArgs e

OnInit(EventArgs)

Raises the System.Web.UI.Control.Init event.

Declaration
protected override void OnInit(EventArgs e)
Parameters
Type Name Description
System.EventArgs e

An System.EventArgs object that contains the event data.

OnLoad(EventArgs)

Raises the System.Web.UI.Control.Load event.

Declaration
protected override void OnLoad(EventArgs e)
Parameters
Type Name Description
System.EventArgs e

The System.EventArgs object that contains the event data.

Render(HtmlTextWriter)

Renders the specified writer.

Declaration
protected override void Render(HtmlTextWriter writer)
Parameters
Type Name Description
System.Web.UI.HtmlTextWriter writer

The writer.

Events

GridCommand

Declaration
public event JsGrid.Command GridCommand
Event Type
Type Description
JsGrid.Command