Class Grid<T>
Implements
Inherited Members
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class Grid<T> : Control, IHtmlString where T : class
Type Parameters
Name | Description |
---|---|
T |
Constructors
Grid()
Gets a collection of Grid component values
Declaration
public Grid()
Grid(String)
Gets a collection of Grid component values
Declaration
public Grid(string id)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | It accepts the string value and get the grid componenets |
Grid(String, GridProperties)
Gets a collection of Grid component values
Declaration
public Grid(string id, GridProperties propModel)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | It accepts the string value and get the grid componenets |
GridProperties | propModel | It accepts the properties to perform some function |
Properties
GridModel
Gets a collection of Grid component values to perform some function.
Declaration
public GridProperties GridModel { get; set; }
Property Value
Type | Description |
---|---|
GridProperties |
Model
Declaration
protected override object Model { get; }
Property Value
Type | Description |
---|---|
System.Object |
Overrides
PluginName
Gets the Plugin name that contains a runat=server attribute and value pair.
Declaration
public override string PluginName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
TagName
Gets the element name of a tag that contains a runat=server attribute and value pair.
Declaration
public override string TagName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Methods
BuildScriptContent(String)
Declaration
protected override string BuildScriptContent(string jsonContent)
Parameters
Type | Name | Description |
---|---|---|
System.String | jsonContent |
Returns
Type | Description |
---|---|
System.String |
Overrides
CreateContainer(String)
Container encapsulates zero or more components.Through a container you can track your components and communicate with them.
Declaration
public override HtmlString CreateContainer(string controlId)
Parameters
Type | Name | Description |
---|---|---|
System.String | controlId | It accepts the string value and displays the components. |
Returns
Type | Description |
---|---|
System.Web.HtmlString | This method returns string value |
Overrides
CreateUnObtrusiveContainer(String)
In this createUnObtrusiveContainer mode grid control elements are generated.
Declaration
public override HtmlString CreateUnObtrusiveContainer(string controlId)
Parameters
Type | Name | Description |
---|---|---|
System.String | controlId | It accepts the string value and passes the grid control elements. |
Returns
Type | Description |
---|---|
System.Web.HtmlString | This method returns string value |
Overrides
GetDependentControl()
Declaration
protected override List<string> GetDependentControl()
Returns
Type | Description |
---|---|
System.Collections.Generic.List<System.String> |
Overrides
RenderControl(String)
Renders the grid Control elements.
Declaration
public override void RenderControl(string controlId)
Parameters
Type | Name | Description |
---|---|---|
System.String | controlId | It accepts the string value and renders the grid control elements |