## GridWeb class

The basic class of GridWeb control.

```csharp
public class GridWeb : MainWeb
```

## Constructors

| Name | Description |
| --- | --- |
| [GridWeb](gridweb/)() | this constructor . |

## Properties

| Name | Description |
| --- | --- |
| [ActiveCell](../../aspose.cells.gridweb/mainweb/activecell/) { get; set; } | Gets or sets the active cell of the current sheet. Changed to be writable since version 1.9.0.1.(Inherited from [`MainWeb`](../mainweb/).) |
| [ActiveCellBgColor](../../aspose.cells.gridweb/mainweb/activecellbgcolor/) { get; set; } | Specifies the background color of the active cell.(Inherited from [`MainWeb`](../mainweb/).) |
| [ActiveCellColor](../../aspose.cells.gridweb/mainweb/activecellcolor/) { get; set; } | Specifies the color of the active cell.(Inherited from [`MainWeb`](../mainweb/).) |
| [ActiveHeaderBgColor](../../aspose.cells.gridweb/mainweb/activeheaderbgcolor/) { get; set; } | Specifies the background color of the active row/column header.(Inherited from [`MainWeb`](../mainweb/).) |
| [ActiveHeaderColor](../../aspose.cells.gridweb/mainweb/activeheadercolor/) { get; set; } | Specifies the color of the active row/column header.(Inherited from [`MainWeb`](../mainweb/).) |
| [ActiveSheet](../../aspose.cells.gridweb/mainweb/activesheet/) { get; } | Gets the active sheet(Inherited from [`MainWeb`](../mainweb/).) |
| [ActiveSheetIndex](../../aspose.cells.gridweb/mainweb/activesheetindex/) { get; set; } | Gets or sets the active sheet index. Equal to the WebWorksheets.ActiveSheetIndex.(Inherited from [`MainWeb`](../mainweb/).) |
| [ActiveTabStyle](../../aspose.cells.gridweb/mainweb/activetabstyle/) { get; set; } | Specifies the style of the active tab.(Inherited from [`MainWeb`](../mainweb/).) |
| [ACWClientPath](../../aspose.cells.gridweb/mainweb/acwclientpath/) { get; set; } | Gets or sets the web path of the script/image files of the control. For example: "http://localhost/acw_client". You may also set this value in the web.config file. Add this section to the `<configuration>` section:`<appSettings>``<add key="aspose.cells.gridweb.acw_client_path" value="/acw_client/" />``</appSettings>`(Inherited from [`MainWeb`](../mainweb/).) |
| [ACWLanguageFileUrl](../../aspose.cells.gridweb/mainweb/acwlanguagefileurl/) { get; set; } | Gets or sets the web url of the language file of the control. For example: "/acw_client/lang_en.js". By default, a built-in english file is used.(Inherited from [`MainWeb`](../mainweb/).) |
| [AutoRefreshChart](../../aspose.cells.gridweb/mainweb/autorefreshchart/) { get; set; } | Gets or sets whether the Chart image is updated while updating the cell value.the default is true(Inherited from [`MainWeb`](../mainweb/).) |
| [BottomTableStyle](../../aspose.cells.gridweb/mainweb/bottomtablestyle/) { get; set; } | Gets or sets the style of the bottom bar of the control.(Inherited from [`MainWeb`](../mainweb/).) |
| [CurrentPageIndex](../../aspose.cells.gridweb/mainweb/currentpageindex/) { get; set; } | Gets or sets the current page index in paging mode.(Inherited from [`MainWeb`](../mainweb/).) |
| [CustomCalculationEngine](../../aspose.cells.gridweb/mainweb/customcalculationengine/) { get; set; } | Represents user's custom calculation engine to extend the default calculation engine of Aspose.Cells.(Inherited from [`MainWeb`](../mainweb/).) |
| [CustomCommandButtons](../../aspose.cells.gridweb/mainweb/customcommandbuttons/) { get; } | Gets the custom command button collection(Inherited from [`MainWeb`](../mainweb/).) |
| [CustomStyleFileName](../../aspose.cells.gridweb/mainweb/customstylefilename/) { get; set; } | Gets or sets the custom style file name.(Inherited from [`MainWeb`](../mainweb/).) |
| [DefaultFontName](../../aspose.cells.gridweb/mainweb/defaultfontname/) { get; set; } | Gets or sets the control's default font name.(Inherited from [`MainWeb`](../mainweb/).) |
| [DefaultFontSize](../../aspose.cells.gridweb/mainweb/defaultfontsize/) { get; set; } | Gets or sets the control's default font size.(Inherited from [`MainWeb`](../mainweb/).) |
| [DefaultGridLineColor](../../aspose.cells.gridweb/mainweb/defaultgridlinecolor/) { get; set; } | Gets or sets the default grid line's color.(Inherited from [`MainWeb`](../mainweb/).) |
| [DisplayCellTip](../../aspose.cells.gridweb/mainweb/displaycelltip/) { get; set; } | Gets or sets whether to show tips. the default value is true.(Inherited from [`MainWeb`](../mainweb/).) |
| [EditMode](../../aspose.cells.gridweb/mainweb/editmode/) { get; set; } | Gets or sets the control's edit mode.(Inherited from [`MainWeb`](../mainweb/).) |
| [EnableAJAX](../../aspose.cells.gridweb/mainweb/enableajax/) { get; set; } | Gets or sets whether to use AJAX call . the default value is true.(Inherited from [`MainWeb`](../mainweb/).) |
| [EnableAsync](../../aspose.cells.gridweb/mainweb/enableasync/) { get; set; } | Gets or sets whether load cells data in asynchronous way,suggest to apply for one sheet with more than 10000 cells.(Inherited from [`MainWeb`](../mainweb/).) |
| [EnableClientColumnOperations](../../aspose.cells.gridweb/mainweb/enableclientcolumnoperations/) { get; set; } | Gets or sets whether to enable the client side column operations.(Inherited from [`MainWeb`](../mainweb/).) |
| [EnableClientFreeze](../../aspose.cells.gridweb/mainweb/enableclientfreeze/) { get; set; } | Gets or sets whether to enable the client side freezing operations.(Inherited from [`MainWeb`](../mainweb/).) |
| [EnableClientMergeOperations](../../aspose.cells.gridweb/mainweb/enableclientmergeoperations/) { get; set; } | Gets or sets whether to enable the client side merge operations.(Inherited from [`MainWeb`](../mainweb/).) |
| [EnableClientResizeColumnRow](../../aspose.cells.gridweb/mainweb/enableclientresizecolumnrow/) { get; set; } | Gets or sets whether to enable the client side resize column and row.(Inherited from [`MainWeb`](../mainweb/).) |
| [EnableClientRowOperations](../../aspose.cells.gridweb/mainweb/enableclientrowoperations/) { get; set; } | Gets or sets whether to enable the client side row operations.(Inherited from [`MainWeb`](../mainweb/).) |
| [EnableDoubleClickEvent](../../aspose.cells.gridweb/mainweb/enabledoubleclickevent/) { get; set; } | Gets or sets whether to enable customer side double-click event.(Inherited from [`MainWeb`](../mainweb/).) |
| [EnableMetalLightEffect](../../aspose.cells.gridweb/mainweb/enablemetallighteffect/) { get; set; } | Gets or sets whether to apply metal light effect.(Inherited from [`MainWeb`](../mainweb/).) |
| [EnablePaging](../../aspose.cells.gridweb/mainweb/enablepaging/) { get; set; } | Gets or sets whether to enable the control's paging mode.(Inherited from [`MainWeb`](../mainweb/).) |
| [EnableStyleDialogbox](../../aspose.cells.gridweb/mainweb/enablestyledialogbox/) { get; set; } | Gets or sets whether to enable the client side style dialogbox.(Inherited from [`MainWeb`](../mainweb/).) |
| [FilteredPaging](../../aspose.cells.gridweb/mainweb/filteredpaging/) { get; set; } | Gets or sets whether to enable the paging after data filtered,will take affect when EnablePaging is true.(Inherited from [`MainWeb`](../mainweb/).) |
| [ForceValidation](../../aspose.cells.gridweb/mainweb/forcevalidation/) { get; set; } | Gets or sets whether to force customer side validation.(Inherited from [`MainWeb`](../mainweb/).) |
| [FrameTableStyle](../../aspose.cells.gridweb/mainweb/frametablestyle/) { get; set; } | Gets or sets the frame style of the control.(Inherited from [`MainWeb`](../mainweb/).) |
| [GoonDefaultSaveOperation](../../aspose.cells.gridweb/mainweb/goondefaultsaveoperation/) { get; set; } | Gets or sets whether GridWeb will do the default save operation ,the default value is true.(Inherited from [`MainWeb`](../mainweb/).) |
| [HeaderBarHeight](../../aspose.cells.gridweb/mainweb/headerbarheight/) { get; set; } | Gets or sets the height( System.Web.UI.WebControl.Unit ) of the top header bar of the control.(Inherited from [`MainWeb`](../mainweb/).) |
| [HeaderBarStyle](../../aspose.cells.gridweb/mainweb/headerbarstyle/) { get; set; } | Gets or sets the header bar's style.(Inherited from [`MainWeb`](../mainweb/).) |
| [HeaderBarTableStyle](../../aspose.cells.gridweb/mainweb/headerbartablestyle/) { get; set; } | Gets or sets the header bar style of the control.(Inherited from [`MainWeb`](../mainweb/).) |
| [HeaderBarWidth](../../aspose.cells.gridweb/mainweb/headerbarwidth/) { get; set; } | Gets or sets the width( System.Web.UI.WebControl.Unit ) or the left header bar of the control.(Inherited from [`MainWeb`](../mainweb/).) |
| override [Height](../../aspose.cells.gridweb/mainweb/height/) { get; set; } | Gets or sets the height( System.Web.UI.WebControl.Unit ) of the control.(Inherited from [`MainWeb`](../mainweb/).) |
| [IgnoreStyleWithNoData](../../aspose.cells.gridweb/mainweb/ignorestylewithnodata/) { get; set; } | Gets or sets whether GridWeb ignores showing rows or columns that do not contain cell values but are still styled. If set to true, the performance will be better. The default value is false, which means that if the last consecutive row/column has no cell values but is styled, we will still display them. This option is only valid when EnableAsync is false. This option has no effect when EnableAsync is true, which means GridWeb will show all rows/columns with style.(Inherited from [`MainWeb`](../mainweb/).) |
| [IsCalculateFormula](../../aspose.cells.gridweb/mainweb/iscalculateformula/) { get; set; } | Gets or sets whether to calculate formula after cell value changes or after import File. The default value is true.(Inherited from [`MainWeb`](../mainweb/).) |
| [IsPostBack](../../aspose.cells.gridweb/mainweb/ispostback/) { get; } | Gets a value indicating whether gridweb is being loaded in response to a client postback, or if it is being loaded and accessed for the first time.(Inherited from [`MainWeb`](../mainweb/).) |
| [LoadOptions](../../aspose.cells.gridweb/mainweb/loadoptions/) { get; set; } | Represents the loadoptions for GridWeb.(Inherited from [`MainWeb`](../mainweb/).) |
| [MaxColumn](../../aspose.cells.gridweb/mainweb/maxcolumn/) { get; set; } | Gets or sets the maximum display column index(zero based) of the web sheet. The control uses the greater value of MaxColumn and sheet data's max column.(Inherited from [`MainWeb`](../mainweb/).) |
| [MaxRow](../../aspose.cells.gridweb/mainweb/maxrow/) { get; set; } | Gets or sets the maximum display row index(zero based) of the web sheet. The control uses the greater value of MaxRow and sheet data's max row.(Inherited from [`MainWeb`](../mainweb/).) |
| [Message](../../aspose.cells.gridweb/mainweb/message/) { get; set; } | Gets or sets the message for the grid.(Inherited from [`MainWeb`](../mainweb/).) |
| [MinColumn](../../aspose.cells.gridweb/mainweb/mincolumn/) { get; set; } | Gets or sets the minimum display column index(zero based) of the web sheet. The control uses the smaller value of MinColumn and sheet data's min column.(Inherited from [`MainWeb`](../mainweb/).) |
| [MinRow](../../aspose.cells.gridweb/mainweb/minrow/) { get; set; } | Gets or sets the minimum display row index(zero based) of the web sheet. The control uses the smaller value of MinRow and sheet data's min row.(Inherited from [`MainWeb`](../mainweb/).) |
| [ModifiedCells](../../aspose.cells.gridweb/mainweb/modifiedcells/) { get; } | Gets the collection of the cells that modified by the client.(Inherited from [`MainWeb`](../mainweb/).) |
| [NeedRenderGroupRows](../../aspose.cells.gridweb/mainweb/needrendergrouprows/) { get; set; } | Gets or sets whether to show grouprows .(Inherited from [`MainWeb`](../mainweb/).) |
| [NoHScroll](../../aspose.cells.gridweb/mainweb/nohscroll/) { get; set; } | Gets or sets a value indicating whether the horizontal scroll bar is hidden.(Inherited from [`MainWeb`](../mainweb/).) |
| [NoScroll](../../aspose.cells.gridweb/mainweb/noscroll/) { get; set; } | Gets or sets whether to show scroll bar .(Inherited from [`MainWeb`](../mainweb/).) |
| [NoVScroll](../../aspose.cells.gridweb/mainweb/novscroll/) { get; set; } | Gets or sets a value indicating whether the vertical scroll bar is hidden.(Inherited from [`MainWeb`](../mainweb/).) |
| [OnAjaxCallFinishedClientFunction](../../aspose.cells.gridweb/mainweb/onajaxcallfinishedclientfunction/) { get; set; } | Gets or sets the client side function name to be called when ajaxcall finished. The client function should be declared like this: function GridAjaxcallFinished() { alert(this.id+" ajaxcall finished "); }Note: You may use the "this" pointer in the client function to point the grid control which fires the event.(Inherited from [`MainWeb`](../mainweb/).) |
| [OnCellErrorClientFunction](../../aspose.cells.gridweb/mainweb/oncellerrorclientfunction/) { get; set; } | Gets or sets the client side function name to be called when a cell's validation is failed. The client function should be declared like this: function MyOnCellError(cell) { alert(this.getCellValueByCell(cell)); }Note: You may use the "this" pointer in the client function to point the grid control which fires the event.(Inherited from [`MainWeb`](../mainweb/).) |
| [OnCellSelectedAjaxCallBackClientFunction](../../aspose.cells.gridweb/mainweb/oncellselectedajaxcallbackclientfunction/) { get; set; } | Gets or sets the client side function to be called when a cell is selected. The client function should be declared like this: function MyOnSelectCellAjaxCallBack(cell,customerdata) { }Note: You may use the "this" pointer in the client function to point the grid control which fires the event.(Inherited from [`MainWeb`](../mainweb/).) |
| [OnCellSelectedClientFunction](../../aspose.cells.gridweb/mainweb/oncellselectedclientfunction/) { get; set; } | Gets or sets the client side function to be called when a cell is selected. The client function should be declared like this: function MyOnSelectCell(cell) { GridWeb1.setCellValueByCell(cell, "test"); }Note: You may use the "this" pointer in the client function to point the grid control which fires the event.(Inherited from [`MainWeb`](../mainweb/).) |
| [OnCellUnselectedClientFunction](../../aspose.cells.gridweb/mainweb/oncellunselectedclientfunction/) { get; set; } | Gets or sets the client side function to be called when a cell is unselected. The client function should be declared like this: function MyOnUnselectCell(cell) { this.setCellValueByCell(cell, "test"); }Note: You may use the "this" pointer in the client function to point the grid control which fires the event.(Inherited from [`MainWeb`](../mainweb/).) |
| [OnCellUpdatedClientFunction](../../aspose.cells.gridweb/mainweb/oncellupdatedclientfunction/) { get; set; } | Gets or sets the client side function name to be called when a cell's value is updated. The client function should be declared like this: function MyOnCellUpdated(cell) { alert(this.getCellValueByCell(cell)); }Note: You may use the "this" pointer in the client function to point the grid control which fires the event.(Inherited from [`MainWeb`](../mainweb/).) |
| [OnContextMenuShowClientFunction](../../aspose.cells.gridweb/mainweb/oncontextmenushowclientfunction/) { get; set; } | Gets or sets the client side function to be called when the context menu will be shown. The client function should be declared like this: function onContextMenuShow() { var menu = event.srcElement; menu.setItemVisibility("Delete", "block"); menu.setItemVisibility("Update", "none"); }Note: You may use the "this" pointer in the client function to point the grid control which fires the event.(Inherited from [`MainWeb`](../mainweb/).) |
| [OnDoubleClickCellClientFunction](../../aspose.cells.gridweb/mainweb/ondoubleclickcellclientfunction/) { get; set; } | Gets or sets the client side function to be called when a cell is double clicked. The client function should be declared like this: function MyOnDoubleClickCell(cell) { this.setCellValueByCell(cell, "test"); }Note: You may use the "this" pointer in the client function to point the grid control which fires the event.(Inherited from [`MainWeb`](../mainweb/).) |
| [OnDoubleClickRowClientFunction](../../aspose.cells.gridweb/mainweb/ondoubleclickrowclientfunction/) { get; set; } | Gets or sets the client side function to be called when a row is double clicked. The client function should be declared like this: function MyOnRowDoubleClick(row) { alert(row); }Note: You may use the "this" pointer in the client function to point the grid control which fires the event.(Inherited from [`MainWeb`](../mainweb/).) |
| [OnGridInitClientFunction](../../aspose.cells.gridweb/mainweb/ongridinitclientfunction/) { get; set; } | Gets or sets the client side function name to be called when the grid is initialized. The client function should be declared like this: function MyOnGridInit(grid) { alert("The grid is initialized: " + grid.id); }Note: You may use the "this" pointer in the client function to point the grid control which fires the event.(Inherited from [`MainWeb`](../mainweb/).) |
| [OnlyAuto](../../aspose.cells.gridweb/mainweb/onlyauto/) { get; set; } | Gets or sets whether only fit the rows which height are not customed,the default value is false(Inherited from [`MainWeb`](../mainweb/).) |
| [OnPageChangeClientFunction](../../aspose.cells.gridweb/mainweb/onpagechangeclientfunction/) { get; set; } | Gets or sets the client side function to be called after page index changing.only take effect when EnablePaging is true. The client function should be declared like this: function MyOnPageChange(index) { console.log("current page is:"+index); }Note: You may use the "this" pointer in the client function to point the grid control which fires the event.(Inherited from [`MainWeb`](../mainweb/).) |
| [OnPageSubmitClientFunction](../../aspose.cells.gridweb/mainweb/onpagesubmitclientfunction/) { get; set; } | Gets or sets the client function to be called before the page is submitted at client side.(Inherited from [`MainWeb`](../mainweb/).) |
| [OnShapeSelectedClientFunction](../../aspose.cells.gridweb/mainweb/onshapeselectedclientfunction/) { get; set; } | Gets or sets the client side function to be called when a shape is selected. The client function should be declared like this: function MyOnSelectShape(shape) { var name=shape.getAttribute("namevalue") var text=shape.getAttribute("textvalue") var value=shape.getAttribute("controlvalue") var type=shape.getAttribute("msotype") }Note: You may use the "this" pointer in the client function to point the grid control which fires the event.(Inherited from [`MainWeb`](../mainweb/).) |
| [OnSubmitClientFunction](../../aspose.cells.gridweb/mainweb/onsubmitclientfunction/) { get; set; } | Gets or sets the client function to be called before the control is submitted at client side. The client function should be declared like this: function MyOnSubmit(arg, cancelEdit) { return true;} The arg is the submit argument, contains the command to be post to the server. The cancelEdit is boolean value indicates whether the control has discarded the user input before submit. The control will continue submitting if the function returns true. Note: You may use the "this" pointer in the client function to point the grid control which fires the event.(Inherited from [`MainWeb`](../mainweb/).) |
| [PageSize](../../aspose.cells.gridweb/mainweb/pagesize/) { get; set; } | Gets or sets the page size in paging mode.(Inherited from [`MainWeb`](../mainweb/).) |
| [PresetStyle](../../aspose.cells.gridweb/mainweb/presetstyle/) { get; set; } | Gets or sets the preset style.(Inherited from [`MainWeb`](../mainweb/).) |
| [RefreshValidation](../../aspose.cells.gridweb/mainweb/refreshvalidation/) { get; set; } | Gets or sets whether to refresh validation value after cell value changes.(Inherited from [`MainWeb`](../mainweb/).) |
| [RenderHiddenRow](../../aspose.cells.gridweb/mainweb/renderhiddenrow/) { get; set; } | Gets or sets whether the hidden row is rendered in GridControl,the default value is false. if you need to unhide the hidden row latter ,you shall set it as true(Inherited from [`MainWeb`](../mainweb/).) |
| [RowHeightForCSV](../../aspose.cells.gridweb/mainweb/rowheightforcsv/) { get; set; } | Get or Set the row height value in point for csv file ,default value is 14.5.(Inherited from [`MainWeb`](../mainweb/).) |
| [ScrollBarArrowColor](../../aspose.cells.gridweb/mainweb/scrollbararrowcolor/) { get; set; } | Specifies the color of the scrollbar's arrow button.(Inherited from [`MainWeb`](../mainweb/).) |
| [ScrollBarBaseColor](../../aspose.cells.gridweb/mainweb/scrollbarbasecolor/) { get; set; } | Specifies the color of the scroll bar of the control.(Inherited from [`MainWeb`](../mainweb/).) |
| [SelectCellBgColor](../../aspose.cells.gridweb/mainweb/selectcellbgcolor/) { get; set; } | Specifies the background color of the selected cells in multi-select range.(Inherited from [`MainWeb`](../mainweb/).) |
| [SelectCellColor](../../aspose.cells.gridweb/mainweb/selectcellcolor/) { get; set; } | Specifies the color of the selected cells in multi-select range.(Inherited from [`MainWeb`](../mainweb/).) |
| [SelectCells](../../aspose.cells.gridweb/gridweb/selectcells/) { get; } | Gets the select cells collection. |
| [SessionMode](../../aspose.cells.gridweb/mainweb/sessionmode/) { get; set; } | Gets or sets the session mode of the grid.(Inherited from [`MainWeb`](../mainweb/).) |
| [SessionStorePath](../../aspose.cells.gridweb/mainweb/sessionstorepath/) { get; set; } | Gets or sets the session cache store path when session mode is File or ViewState, etc: gridweb.SessionStorePath="c:/mytempdir/session"; then it will store session data in c:/mytempdir/session(Inherited from [`MainWeb`](../mainweb/).) |
| [Settings](../../aspose.cells.gridweb/mainweb/settings/) { get; set; } | Represents the workbook settings.(Inherited from [`MainWeb`](../mainweb/).) |
| [ShowAddButton](../../aspose.cells.gridweb/mainweb/showaddbutton/) { get; set; } | Gets or sets whether to show the add worksheet button.(Inherited from [`MainWeb`](../mainweb/).) |
| [ShowBottomBar](../../aspose.cells.gridweb/mainweb/showbottombar/) { get; set; } | Specifies whether to show the command bar(includes command bar and tab bar) at the bottom of the control.(Inherited from [`MainWeb`](../mainweb/).) |
| [ShowCellEditBox](../../aspose.cells.gridweb/mainweb/showcelleditbox/) { get; set; } | whether Gridweb shows edit box toolbar as in MS-EXCEL.if enable ,a edit box for current cell will display in Gridweb. if we enable this feature, we need to import jquery js library in your aspx files to support this new feature. all the latest jquery version is ok. etc.(Inherited from [`MainWeb`](../mainweb/).) |
| [ShowCommandBarAtTop](../../aspose.cells.gridweb/mainweb/showcommandbarattop/) { get; set; } | Specifies whether to show the command bar(includes command bar and tab bar) at the top of the control.(Inherited from [`MainWeb`](../mainweb/).) |
| [ShowContextMenu](../../aspose.cells.gridweb/mainweb/showcontextmenu/) { get; set; } | Gets or sets whether to show the context menu. the default value is true.(Inherited from [`MainWeb`](../mainweb/).) |
| [ShowDefaultGridLine](../../aspose.cells.gridweb/mainweb/showdefaultgridline/) { get; set; } | Gets or sets whether to show the default grid lines of the cells.(Inherited from [`MainWeb`](../mainweb/).) |
| [ShowHeaderBar](../../aspose.cells.gridweb/mainweb/showheaderbar/) { get; set; } | Gets or sets whether to show header bar(Inherited from [`MainWeb`](../mainweb/).) |
| [ShowLoading](../../aspose.cells.gridweb/mainweb/showloading/) { get; set; } | Specifies whether to show a loading dialogbox while postbacking to server.(Inherited from [`MainWeb`](../mainweb/).) |
| [ShowLoadingPosition](../../aspose.cells.gridweb/mainweb/showloadingposition/) { get; set; } | Specifies the left,top postion(in px) to show the loading dialogbox while postbacking to server ,etc. 100,200 means the loading dialogbox's left,top postion is at 100px,200px .(Inherited from [`MainWeb`](../mainweb/).) |
| [ShowSaveButton](../../aspose.cells.gridweb/mainweb/showsavebutton/) { get; set; } | Gets or sets whether to show the save button.(Inherited from [`MainWeb`](../mainweb/).) |
| [ShowSubmitButton](../../aspose.cells.gridweb/mainweb/showsubmitbutton/) { get; set; } | Gets or sets whether to show the submit button.(Inherited from [`MainWeb`](../mainweb/).) |
| [ShowTabBar](../../aspose.cells.gridweb/mainweb/showtabbar/) { get; set; } | Gets or sets whether to show the tab bar.(Inherited from [`MainWeb`](../mainweb/).) |
| [ShowTabNavigation](../../aspose.cells.gridweb/mainweb/showtabnavigation/) { get; set; } | Gets or sets whether the tab navigation button is show,the default value is true.(Inherited from [`MainWeb`](../mainweb/).) |
| [ShowUndoButton](../../aspose.cells.gridweb/mainweb/showundobutton/) { get; set; } | Gets or sets whether to show the undo button.(Inherited from [`MainWeb`](../mainweb/).) |
| [SpanWrap](../../aspose.cells.gridweb/mainweb/spanwrap/) { get; set; } | Specifies whether to wrap content in the cell span.the default value is true.(Inherited from [`MainWeb`](../mainweb/).) |
| [TabStyle](../../aspose.cells.gridweb/mainweb/tabstyle/) { get; set; } | Gets or sets the style of the tab bar.(Inherited from [`MainWeb`](../mainweb/).) |
| [UseClientPageHeight](../../aspose.cells.gridweb/mainweb/useclientpageheight/) { get; set; } | Gets or sets whether gridweb use client page height as control height ,suitable for when set Height="100%",default value is false(Inherited from [`MainWeb`](../mainweb/).) |
| [ViewPanelScrollLeft](../../aspose.cells.gridweb/mainweb/viewpanelscrollleft/) { get; set; } | Gets or sets the position of the scroll bar of the grid's view panel.(Inherited from [`MainWeb`](../mainweb/).) |
| [ViewPanelScrollTop](../../aspose.cells.gridweb/mainweb/viewpanelscrolltop/) { get; set; } | Gets or sets the position of the scroll bar of the grid's view panel.(Inherited from [`MainWeb`](../mainweb/).) |
| [ViewTableStyle](../../aspose.cells.gridweb/mainweb/viewtablestyle/) { get; set; } | Gets or sets the data view panel's style.(Inherited from [`MainWeb`](../mainweb/).) |
| [WebWorksheets](../../aspose.cells.gridweb/mainweb/webworksheets/) { get; } | (Inherited from [`MainWeb`](../mainweb/).) |
| override [Width](../../aspose.cells.gridweb/mainweb/width/) { get; set; } | Gets or sets the width( System.Web.UI.WebControl.Unit ) of the control.(Inherited from [`MainWeb`](../mainweb/).) |
| [WorkSheets](../../aspose.cells.gridweb/mainweb/worksheets/) { get; } | Gets or sets the collection of the worksheets.(Inherited from [`MainWeb`](../mainweb/).) |
| [XhtmlMode](../../aspose.cells.gridweb/mainweb/xhtmlmode/) { get; set; } | Gets or sets whether to use XHTML style,the default value is true.(Inherited from [`MainWeb`](../mainweb/).) |

## Methods

| Name | Description |
| --- | --- |
| [CalculateFormula](../../aspose.cells.gridweb/mainweb/calculateformula/)() | Calculates the result of formulas.(Inherited from [`MainWeb`](../mainweb/).) |
| override [DataBind](../../aspose.cells.gridweb/mainweb/databind/)() | Bind the control and all its child contorls to the its datasource.(Inherited from [`MainWeb`](../mainweb/).) |
| override [Dispose](../../aspose.cells.gridweb/mainweb/dispose/)() | (Inherited from [`MainWeb`](../mainweb/).) |
| [ImportExcelFile](../../aspose.cells.gridweb/mainweb/importexcelfile/)(Stream) | Imports from an excel file stream, including disk file stream or memory stream.(Inherited from [`MainWeb`](../mainweb/).) |
| [ImportExcelFile](../../aspose.cells.gridweb/mainweb/importexcelfile/)(string) | Imports from an excel file.(Inherited from [`MainWeb`](../mainweb/).) |
| [ImportExcelFile](../../aspose.cells.gridweb/mainweb/importexcelfile/)(Stream, string) | Imports from an excel file stream, including disk file stream or memory stream.(Inherited from [`MainWeb`](../mainweb/).) |
| [ImportExcelFile](../../aspose.cells.gridweb/mainweb/importexcelfile/)(string, string) | Imports from an excel file.(Inherited from [`MainWeb`](../mainweb/).) |
| [LoadCSVFile](../../aspose.cells.gridweb/mainweb/loadcsvfile/)(Stream) | Loads data from a CSV file stream.(Inherited from [`MainWeb`](../mainweb/).) |
| [LoadCSVFile](../../aspose.cells.gridweb/mainweb/loadcsvfile/)(string) | Loads data from a CSV file.(Inherited from [`MainWeb`](../mainweb/).) |
| [LoadHTMLFile](../../aspose.cells.gridweb/mainweb/loadhtmlfile/)(Stream) | Loads data from a HTML file stream.(Inherited from [`MainWeb`](../mainweb/).) |
| [LoadHTMLFile](../../aspose.cells.gridweb/mainweb/loadhtmlfile/)(string) | Loads data from a HTML file.(Inherited from [`MainWeb`](../mainweb/).) |
| [LoadSpreadSheetMLFile](../../aspose.cells.gridweb/mainweb/loadspreadsheetmlfile/)(Stream) | Loads data from a SpreadSheetML file stream.(Inherited from [`MainWeb`](../mainweb/).) |
| [LoadSpreadSheetMLFile](../../aspose.cells.gridweb/mainweb/loadspreadsheetmlfile/)(string) | Loads data from a SpreadSheetML file.(Inherited from [`MainWeb`](../mainweb/).) |
| [RefreshChartShape](../../aspose.cells.gridweb/mainweb/refreshchartshape/)() | refresh all the chart image for the active worksheet .(Inherited from [`MainWeb`](../mainweb/).) |
| override [RenderBeginTag](../../aspose.cells.gridweb/mainweb/renderbegintag/)(HtmlTextWriter) | (Inherited from [`MainWeb`](../mainweb/).) |
| [SaveCSVFile](../../aspose.cells.gridweb/mainweb/savecsvfile/)(Stream) | Saves data to a CSV file stream.(Inherited from [`MainWeb`](../mainweb/).) |
| [SaveCSVFile](../../aspose.cells.gridweb/mainweb/savecsvfile/)(string) | Saves data to a CSV file.(Inherited from [`MainWeb`](../mainweb/).) |
| [SaveCustomStyleFile](../../aspose.cells.gridweb/gridweb/savecustomstylefile/#savecustomstylefile)(string) | Saves current style data of the control to an xml file. Can be used to create your customized style file. (2 methods) |
| [SaveHTMLFile](../../aspose.cells.gridweb/mainweb/savehtmlfile/)(Stream) | Saves data to a HTML file stream.(Inherited from [`MainWeb`](../mainweb/).) |
| [SaveHTMLFile](../../aspose.cells.gridweb/mainweb/savehtmlfile/)(string) | Saves data to a HTML file.(Inherited from [`MainWeb`](../mainweb/).) |
| [SaveSpreadSheetMLFile](../../aspose.cells.gridweb/mainweb/savespreadsheetmlfile/)(Stream) | Saves data to a SpreadSheetML file stream.(Inherited from [`MainWeb`](../mainweb/).) |
| [SaveSpreadSheetMLFile](../../aspose.cells.gridweb/mainweb/savespreadsheetmlfile/)(string) | Saves data to a SpreadSheetML file.(Inherited from [`MainWeb`](../mainweb/).) |
| [SaveToExcelFile](../../aspose.cells.gridweb/mainweb/savetoexcelfile/)(Stream) | Saves the worksheets to an excel file.(Inherited from [`MainWeb`](../mainweb/).) |
| [SaveToExcelFile](../../aspose.cells.gridweb/mainweb/savetoexcelfile/)(string) | Saves the worksheets to an excel file with Excel 2003 format.(Inherited from [`MainWeb`](../mainweb/).) |
| [SaveToExcelFile](../../aspose.cells.gridweb/mainweb/savetoexcelfile/)(Stream, GridSaveFormat) | Saves the worksheets to an excel file.(Inherited from [`MainWeb`](../mainweb/).) |
| [SaveToExcelFile](../../aspose.cells.gridweb/mainweb/savetoexcelfile/)(Stream, GridSaveOptions) | Saves the worksheets to an excel file.(Inherited from [`MainWeb`](../mainweb/).) |
| [SaveToExcelFile](../../aspose.cells.gridweb/mainweb/savetoexcelfile/)(string, GridSaveFormat) | Saves the worksheets to an excel file.(Inherited from [`MainWeb`](../mainweb/).) |
| [SaveToExcelFile](../../aspose.cells.gridweb/mainweb/savetoexcelfile/)(string, GridSaveOptions) | Saves the worksheets to an excel file.(Inherited from [`MainWeb`](../mainweb/).) |
| [SetCustomStyle](../../aspose.cells.gridweb/mainweb/setcustomstyle/)(Stream) | sets the custom style file from stream including disk file stream or memory stream.(Inherited from [`MainWeb`](../mainweb/).) |
| static [GetVersion](../../aspose.cells.gridweb/gridweb/getversion/)() | Get the release version. |
| static [SetFontFolder](../../aspose.cells.gridweb/gridweb/setfontfolder/)(string, bool) | Sets the fonts folder |
| static [SetFontFolders](../../aspose.cells.gridweb/gridweb/setfontfolders/)(string[], bool) | Sets the fonts folders |

## Events

| Name | Description |
| --- | --- |
| event [AfterColumnFilter](../../aspose.cells.gridweb/mainweb/aftercolumnfilter/) | Occurs after the column filtered.(Inherited from [`MainWeb`](../mainweb/).) |
| event [AjaxCallFinished](../../aspose.cells.gridweb/mainweb/ajaxcallfinished/) | Fires when the ajax update of the control finished.(the EnableAJAX shall be set to true)(Inherited from [`MainWeb`](../mainweb/).) |
| event [BeforeColumnFilter](../../aspose.cells.gridweb/mainweb/beforecolumnfilter/) | Occurs before the column to be filtered.(Inherited from [`MainWeb`](../mainweb/).) |
| event [CellClickOnAjax](../../aspose.cells.gridweb/mainweb/cellclickonajax/) | Occurs when the cell is clicked,and need to do ajaxcallback for this event.(Inherited from [`MainWeb`](../mainweb/).) |
| event [CellClientUpdate](../../aspose.cells.gridweb/mainweb/cellclientupdate/) | Occurs when a client cell update happen . When this event is fired, its parameter e.Argument contains the command's name.(Inherited from [`MainWeb`](../mainweb/).) |
| event [CellCommand](../../aspose.cells.gridweb/mainweb/cellcommand/) | Occurs when a cell's command hyperlink is clicked. When this event is fired, its parameter e.Argument contains the command's name.(Inherited from [`MainWeb`](../mainweb/).) |
| event [CellDoubleClick](../../aspose.cells.gridweb/mainweb/celldoubleclick/) | Occurs when the cell is double-clicked.(Inherited from [`MainWeb`](../mainweb/).) |
| event [CellError](../../aspose.cells.gridweb/mainweb/cellerror/) | Occurs when a cell's input value error.(Inherited from [`MainWeb`](../mainweb/).) |
| event [CellModifiedOnAjax](../../aspose.cells.gridweb/mainweb/cellmodifiedonajax/) | Occurs when the cell is modified in ajaxcall.(Inherited from [`MainWeb`](../mainweb/).) |
| event [ColumnDeleted](../../aspose.cells.gridweb/mainweb/columndeleted/) | Occurs when user delete a column from client-side menu.(Inherited from [`MainWeb`](../mainweb/).) |
| event [ColumnDeleting](../../aspose.cells.gridweb/mainweb/columndeleting/) | Occurs when user is trying to delete a column from the client-side menu. You may handle this event and set the cancel parameter to True to cancel a deleting operation.(Inherited from [`MainWeb`](../mainweb/).) |
| event [ColumnDoubleClick](../../aspose.cells.gridweb/mainweb/columndoubleclick/) | Occurs when the column header is double-clicked.(Inherited from [`MainWeb`](../mainweb/).) |
| event [ColumnInserted](../../aspose.cells.gridweb/mainweb/columninserted/) | Occurs when user insert a column from client-side menu.(Inherited from [`MainWeb`](../mainweb/).) |
| event [CustomCommand](../../aspose.cells.gridweb/mainweb/customcommand/) | Occurs when user clicks a custom command button.(Inherited from [`MainWeb`](../mainweb/).) |
| event [LoadCustomData](../../aspose.cells.gridweb/mainweb/loadcustomdata/) | Fires when the control's SessionMode is set to Custom and needs to load sheet data. You may handle this event in Custom Session mode to load sheet data from file or database.(Inherited from [`MainWeb`](../mainweb/).) |
| event [PageIndexChanged](../../aspose.cells.gridweb/mainweb/pageindexchanged/) | Occurs when the control's sheet page index changed.(Inherited from [`MainWeb`](../mainweb/).) |
| event [RowDeleted](../../aspose.cells.gridweb/mainweb/rowdeleted/) | Occurs when user has deleted a row from client-side menu.(Inherited from [`MainWeb`](../mainweb/).) |
| event [RowDeleting](../../aspose.cells.gridweb/mainweb/rowdeleting/) | Occurs when user is trying to delete a row from the client-side menu. You may handle this event and throw a RejectDeleteException exception to cancel a deleting operation.(Inherited from [`MainWeb`](../mainweb/).) |
| event [RowDoubleClick](../../aspose.cells.gridweb/mainweb/rowdoubleclick/) | Occurs when the row header is double-clicked.(Inherited from [`MainWeb`](../mainweb/).) |
| event [RowInserted](../../aspose.cells.gridweb/mainweb/rowinserted/) | Occurs when user insert a row from client-side menu.(Inherited from [`MainWeb`](../mainweb/).) |
| event [SaveCommand](../../aspose.cells.gridweb/mainweb/savecommand/) | Occurs when the "save" button is clicked.(Inherited from [`MainWeb`](../mainweb/).) |
| event [SheetAdded](../../aspose.cells.gridweb/mainweb/sheetadded/) | Occurs when user add a worksheet from toolbar menu.(Inherited from [`MainWeb`](../mainweb/).) |
| event [SheetDataUpdated](../../aspose.cells.gridweb/mainweb/sheetdataupdated/) | Occurs when the control has loaded the posted data and updated the sheet data.(Inherited from [`MainWeb`](../mainweb/).) |
| event [SheetTabClick](../../aspose.cells.gridweb/mainweb/sheettabclick/) | Occurs when the sheet tab is clicked.(Inherited from [`MainWeb`](../mainweb/).) |
| event [SubmitCommand](../../aspose.cells.gridweb/mainweb/submitcommand/) | Occurs when the "submit" button is clicked.(Inherited from [`MainWeb`](../mainweb/).) |
| event [UndoCommand](../../aspose.cells.gridweb/mainweb/undocommand/) | Occurs when the "undo" button is clicked.(Inherited from [`MainWeb`](../mainweb/).) |

### See Also

* class [MainWeb](../mainweb/)
* namespace [Aspose.Cells.GridWeb](../../aspose.cells.gridweb/)
* assembly [Aspose.Cells.GridWeb](../../)


