Class Spreadsheet<T>
Represents a class for spreadsheet class.
Implements
Inherited Members
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class Spreadsheet<T> : Control, IHtmlString where T : class
Type Parameters
Name | Description |
---|---|
T |
Constructors
Spreadsheet()
Declaration
public Spreadsheet()
Spreadsheet(String)
Initializes a new instance of the Spreadsheet<T> with the specified id of Spreadsheet.
Declaration
public Spreadsheet(string id)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | Spreadsheet id |
Spreadsheet(String, WorkbookProperties)
Initializes a new instance of the Spreadsheet<T> with the specified id and worksheet properties.
Declaration
public Spreadsheet(string id, WorkbookProperties propModel)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | Spreadsheet id |
WorkbookProperties | propModel | Spreadsheet model |
Properties
Model
Gets the Spreadsheet model.
Declaration
protected override object Model { get; }
Property Value
Type | Description |
---|---|
System.Object | The Spreadsheet model |
Overrides
PluginName
Gets the plugin by using plugin name.
Declaration
public override string PluginName { get; }
Property Value
Type | Description |
---|---|
System.String | The name of plugin |
Overrides
SpreadsheetModel
Gets or sets Spreadsheet model.
Declaration
public WorkbookProperties SpreadsheetModel { get; set; }
Property Value
Type | Description |
---|---|
WorkbookProperties |
TagName
Gets the tag by using tag name.
Declaration
public override string TagName { get; }
Property Value
Type | Description |
---|---|
System.String | The name of tag |
Overrides
Methods
BuildScriptContent(String)
This method is used to builds the script content.
Declaration
protected override string BuildScriptContent(string jsonContent)
Parameters
Type | Name | Description |
---|---|---|
System.String | jsonContent | jsonContent string. |
Returns
Type | Description |
---|---|
System.String |
Overrides
CreateContainer(String)
This method is used to creates the container.
Declaration
public override HtmlString CreateContainer(string controlId)
Parameters
Type | Name | Description |
---|---|---|
System.String | controlId | Spreadsheet id |
Returns
Type | Description |
---|---|
System.Web.HtmlString |
Overrides
CreateUnObtrusiveContainer(String)
In this createUnObtrusiveContainer mode spreadsheet 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 spreadsheet 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)
This method is used to rendering the control.
Declaration
public override void RenderControl(string controlId)
Parameters
Type | Name | Description |
---|---|---|
System.String | controlId | Spreadsheet ID |