public class MainWeb extends ExtWebControl
Example
GridWeb GridWeb1 = new GridWeb();
//do your business
| Modifier and Type | Field and Description |
|---|---|
RowColumnEventHandler |
AfterColumnFilter
Occurs after the column filtered.
|
WorkbookEventHandler |
AjaxCallFinished
Fires when the ajax update of the control finished.(the EnableAJAX shall be set to true)
|
RowColumnEventHandler |
BeforeColumnFilter
Occurs before the column to be filtered.
|
CellEventStringHandler |
CellClickOnAjax
Occurs when the cell is clicked,and need to do ajaxcallback for this event.
|
CellEventHandler |
CellClientUpdate
Occurs when a client cell update happen .
|
CellEventHandler |
CellCommand
Occurs when a cell's command hyperlink is clicked.
|
CellEventHandler |
CellDoubleClick
Occurs when the cell is double-clicked.
|
CellEventHandler |
CellModifiedOnAjax
Occurs when the cell is modified in ajaxcall.
|
RowColumnEventHandler |
ColumnDeleted
Occurs when user delete a column from client-side menu.
|
RowColumnEventHandler |
ColumnDeleting
Occurs when user is trying to delete a column from the client-side menu.
|
RowColumnEventHandler |
ColumnDoubleClick
Occurs when the column header is double-clicked.
|
RowColumnEventHandler |
ColumnInserted
Occurs when user insert a column from client-side menu.
|
CustomCommandEventHandler |
CustomCommand
Occurs when user clicks a custom command button.
|
WorkbookEventHandler |
LoadCustomData
Fires when the control's SessionMode is set to Custom and needs to load sheet data.
|
WorkbookEventHandler |
PageIndexChanged
Occurs when the control's sheet page index changed.
|
RowColumnEventHandler |
RowDeleted
Occurs when user has deleted a row from client-side menu.
|
RowColumnEventHandler |
RowDeleting
Occurs when user is trying to delete a row from the client-side menu.
|
RowColumnEventHandler |
RowDoubleClick
Occurs when the row header is double-clicked.
|
RowColumnEventHandler |
RowInserted
Occurs when user insert a row from client-side menu.
|
WorkbookEventHandler |
SaveCommand
Occurs when the "save" button is clicked.
|
SheetEventHandler |
SheetAdded
Occurs when user add a worksheet from toolbar menu.
|
WorkbookEventHandler |
SheetTabClick
Occurs when the sheet tab is clicked.
|
WorkbookEventHandler |
SubmitCommand
Occurs when the "submit" button is clicked.
|
WorkbookEventHandler |
UndoCommand
Occurs when the "undo" button is clicked.
|
| Constructor and Description |
|---|
MainWeb()
the default constructor of MainWeb control.
|
| Modifier and Type | Method and Description |
|---|---|
void |
calculateFormula()
Calculates the result of formulas.
|
void |
createChildControls()
implment CreateChildControls from WebControl,Internal used only.
|
GridCell |
getActiveCell()
Gets the active cell of the current sheet.
|
Color |
getActiveCellBgColor()
Specifies the background color of the active cell.
|
Color |
getActiveCellColor()
Specifies the color of the active cell.
|
Color |
getActiveHeaderBgColor()
Specifies the background color of the active row/column header.
|
Color |
getActiveHeaderColor()
Specifies the color of the active row/column header.
|
GridWorksheet |
getActiveSheet()
Gets the active sheet
|
int |
getActiveSheetIndex()
Gets the active sheet index.
|
GridTableItemStyle |
getActiveTabStyle()
Specifies the style of the active tab.
|
java.lang.String |
getACWClientPath()
Gets the web path of the script/image files of the control.
|
java.lang.String |
getACWLanguageFileUrl()
Gets the web url of the language file of the control.
|
boolean |
getAutoRefreshChart()
Gets whether the Chart image is updated while updating the cell value.the default is true
|
GridTableStyle |
getBottomTableStyle()
Gets the style of the bottom bar of the control.
|
int |
getCurrentPageIndex()
Gets the current page index in paging mode.
|
GridAbstractCalculationEngine |
getCustomCalculationEngine()
Represents user's custom calculation engine to extend the default calculation engine of Aspose.Cells.
|
CustomCommandButtonCollection |
getCustomCommandButtons()
Gets the custom command button collection
|
java.lang.String |
getCustomStyleFileName()
Gets the custom style file name.
|
java.lang.String |
getDefaultFontName()
Gets the control's default font name.
|
FontUnit |
getDefaultFontSize()
Gets the control's default font size.
|
Color |
getDefaultGridLineColor()
Gets the default grid line's color.
|
boolean |
getDisplayCellTip()
Gets whether to show tips.
|
static double |
getDPI()
Gets /Sets the DPI of the machine.
|
boolean |
getEditMode()
Gets the control's edit mode.
|
boolean |
getEnableAJAX()
Gets whether to use AJAX call .
|
boolean |
getEnableAsync()
Gets whether load cells data in asynchronous way,suggest to apply for one sheet with more than 10000 cells.
|
boolean |
getEnableClientColumnOperations()
Gets whether to enable the client side column operations.
|
boolean |
getEnableClientFreeze()
Gets whether to enable the client side freezing operations.
|
boolean |
getEnableClientMergeOperations()
Gets whether to enable the client side merge operations.
|
boolean |
getEnableClientResizeColumnRow()
Gets whether to enable the client side resize column and row.
|
boolean |
getEnableClientRowOperations()
Gets whether to enable the client side row operations.
|
boolean |
getEnableDoubleClickEvent()
Gets whether to enable customer side double-click event.
|
boolean |
getEnableMetalLightEffect()
Gets whether to apply metal light effect.
|
boolean |
getEnablePaging()
Gets whether to enable the control's paging mode.
|
boolean |
getEnableStyleDialogbox()
Gets whether to enable the client side style dialogbox.
|
boolean |
getFilteredPaging()
Gets whether to enable the paging after data filtered,will take affect when EnablePaging is true.
|
boolean |
getForceValidation()
Gets whether to force customer side validation.
|
GridTableStyle |
getFrameTableStyle()
Gets the frame style of the control.
|
boolean |
getGoonDefaultSaveOperation()
Gets whether GridWeb will do the default save operation ,the default value is true.
|
Unit |
getHeaderBarHeight()
Gets the height( System.Web.UI.WebControl.Unit ) of the top header bar of the control.
|
GridTableItemStyle |
getHeaderBarStyle()
Gets the header bar's style.
|
GridTableStyle |
getHeaderBarTableStyle()
Gets the header bar style of the control.
|
Unit |
getHeaderBarWidth()
Gets the width( System.Web.UI.WebControl.Unit ) or the left header bar of the control.
|
Unit |
getHeight()
Gets the height( System.Web.UI.WebControl.Unit ) of the control.
|
boolean |
getIgnoreStyleWithNoData()
Gets whether GridWeb ignores showing rows or columns that do not contain cell values but are still styled.
|
GridLoadOptions |
getLoadOptions()
Represents the loadoptions for GridWeb.
|
int |
getMaxColumn()
Gets the maximum display column index(zero based) of the web sheet.
|
int |
getMaxRow()
Gets the maximum display row index(zero based) of the web sheet.
|
java.lang.String |
getMessage()
Gets the message for the grid.
|
int |
getMinColumn()
Gets the minimum display column index(zero based) of the web sheet.
|
int |
getMinRow()
Gets the minimum display row index(zero based) of the web sheet.
|
java.util.ArrayList |
getModifiedCells()
Gets the collection of the cells that modified by the client.
|
boolean |
getNeedRenderGroupRows()
Gets whether to show grouprows .
|
boolean |
getNoHScroll()
Gets a value indicating whether the horizontal scroll bar is hidden.
|
boolean |
getNoScroll()
Gets whether to show scroll bar .
|
boolean |
getNoVScroll()
Gets a value indicating whether the vertical scroll bar is hidden.
|
java.lang.String |
getOnAjaxCallFinishedClientFunction()
Gets the client side function name to be called when ajaxcall finished.
|
java.lang.String |
getOnCellErrorClientFunction()
Gets the client side function name to be called when a cell's validation is failed.
|
java.lang.String |
getOnCellSelectedAjaxCallBackClientFunction()
Gets the client side function to be called when a cell is selected.
|
java.lang.String |
getOnCellSelectedClientFunction()
Gets the client side function to be called when a cell is selected.
|
java.lang.String |
getOnCellUnselectedClientFunction()
Gets the client side function to be called when a cell is unselected.
|
java.lang.String |
getOnCellUpdatedClientFunction()
Gets the client side function name to be called when a cell's value is updated.
|
java.lang.String |
getOnContextMenuShowClientFunction()
Gets the client side function to be called when the context menu will be shown.
|
java.lang.String |
getOnDoubleClickCellClientFunction()
Gets the client side function to be called when a cell is double clicked.
|
java.lang.String |
getOnDoubleClickRowClientFunction()
Gets the client side function to be called when a row is double clicked.
|
java.lang.String |
getOnGridInitClientFunction()
Gets the client side function name to be called when the grid is initialized.
|
boolean |
getOnlyAuto()
Gets whether only fit the rows which height are not customed,the default value is false
|
java.lang.String |
getOnPageChangeClientFunction()
Gets the client side function to be called after page index changing.only take effect when EnablePaging is true.
|
java.lang.String |
getOnPageSubmitClientFunction()
Gets the client function to be called before the page is submitted at client side.
|
java.lang.String |
getOnShapeSelectedClientFunction()
Gets the client side function to be called when a shape is selected.
|
java.lang.String |
getOnSubmitClientFunction()
Gets the client function to be called before the control is submitted at client side.
|
int |
getPageSize()
Gets the page size in paging mode.
|
static java.lang.String |
getPictureCachePath()
Gets the image storage path for the workbook,all the shapes,images will be stored in this directory,
the default path is acwcache under current application Base Directory
users need to implement a schedule service to clean the files those are out of session time.
|
int |
getPresetStyle()
Gets the preset style.
|
boolean |
getRefreshValidation()
Gets whether to refresh validation value after cell value changes.
|
boolean |
getRenderHiddenRow()
Gets whether the hidden row is rendered in GridControl,the default value is false.
|
double |
getRowHeightForCSV()
Gets the row height value in point for csv file ,default value is 14.5.
|
Color |
getScrollBarArrowColor()
Specifies the color of the scrollbar's arrow button.
|
Color |
getScrollBarBaseColor()
Specifies the color of the scroll bar of the control.
|
Color |
getSelectCellBgColor()
Specifies the background color of the selected cells in multi-select range.
|
Color |
getSelectCellColor()
Specifies the color of the selected cells in multi-select range.
|
java.lang.String |
getSessionStorePath()
Gets 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
|
GridWorkbookSettings |
getSettings()
Represents the workbook settings.
|
boolean |
getShowAddButton()
Gets whether to show the add worksheet button.
|
boolean |
getShowBottomBar()
Specifies whether to show the command bar(includes command bar and tab bar) at the bottom of the control.
|
boolean |
getShowCellEditBox()
whether Gridweb shows edit box toolbar as in MS-EXCEL.if enable ,a edit box for current cell will display in Gridweb.
|
boolean |
getShowCommandBarAtTop()
Specifies whether to show the command bar(includes command bar and tab bar) at the top of the control.
|
boolean |
getShowContextMenu()
Gets whether to show the context menu.
|
boolean |
getShowDefaultGridLine()
Gets whether to show the default grid lines of the cells.
|
boolean |
getShowHeaderBar()
Gets whether to show header bar
|
boolean |
getShowLoading()
Specifies whether to show a loading dialogbox while postbacking to server.
|
java.lang.String |
getShowLoadingPosition()
Specifies the left,top postion(in px) to show the loading dialogbox while postbacking to server ,etc.
|
boolean |
getShowSaveButton()
Gets whether to show the save button.
|
boolean |
getShowSubmitButton()
Gets whether to show the submit button.
|
boolean |
getShowTabBar()
Gets whether to show the tab bar.
|
boolean |
getShowTabNavigation()
Gets whether the tab navigation button is show,the default value is true.
|
boolean |
getShowUndoButton()
Gets whether to show the undo button.
|
boolean |
getSpanWrap()
Specifies whether to wrap content in the cell span.the default value is true.
|
GridTableItemStyle |
getTabStyle()
Gets the style of the tab bar.
|
boolean |
getUseClientPageHeight()
Gets whether gridweb use client page height as control height ,suitable for when set Height="100%",default value is false
|
java.lang.String |
getViewPanelScrollLeft()
Gets the position of the scroll bar of the grid's view panel.
|
java.lang.String |
getViewPanelScrollTop()
Gets the position of the scroll bar of the grid's view panel.
|
GridTableStyle |
getViewTableStyle()
Gets the data view panel's style.
|
Unit |
getWidth()
Gets the width( System.Web.UI.WebControl.Unit ) of the control.
|
GridWorksheetCollection |
getWorkSheets()
Gets the collection of the worksheets.
|
boolean |
getXhtmlMode()
Gets whether to use XHTML style,the default value is true.
|
void |
importExcelFile(java.io.InputStream stream)
Imports from an excel file stream, including disk file stream or memory stream.
|
void |
importExcelFile(java.io.InputStream stream,
java.lang.String passwordtoOpen)
Imports from an excel file stream, including disk file stream or memory stream.
|
void |
importExcelFile(java.lang.String fileName)
Imports from an excel file.
|
void |
importExcelFile(java.lang.String fileName,
java.lang.String passwordtoOpen)
Imports from an excel file.
|
boolean |
isCalculateFormula()
Gets whether to calculate formula after cell value changes or after import File.
|
void |
loadCSVFile(java.io.InputStream stream)
Loads data from a CSV file stream.
|
void |
loadCSVFile(java.lang.String fileName)
Loads data from a CSV file.
|
void |
loadHTMLFile(java.io.InputStream stream)
Loads data from a HTML file stream.
|
void |
loadHTMLFile(java.lang.String fileName)
Loads data from a HTML file.
|
void |
loadSpreadSheetMLFile(java.io.InputStream stream)
Loads data from a SpreadSheetML file stream.
|
void |
loadSpreadSheetMLFile(java.lang.String fileName)
Loads data from a SpreadSheetML file.
|
protected void |
loadViewState(java.lang.Object savedState)
Internal use only.
|
void |
refreshChartShape()
refresh all the chart image for the active worksheet .
|
void |
saveCSVFile(java.io.OutputStream stream)
Saves data to a CSV file stream.
|
void |
saveCSVFile(java.lang.String targetFile)
Saves data to a CSV file.
|
void |
saveCustomStyleFile(java.lang.String fileName)
Saves current style data of the control to an xml file.
|
void |
saveHTMLFile(java.io.OutputStream stream)
Saves data to a HTML file stream.
|
void |
saveHTMLFile(java.lang.String targetFile)
Saves data to a HTML file.
|
void |
saveSpreadSheetMLFile(java.io.OutputStream stream)
Saves data to a SpreadSheetML file stream.
|
void |
saveSpreadSheetMLFile(java.lang.String targetFile)
Saves data to a SpreadSheetML file.
|
void |
saveToExcelFile(java.io.OutputStream stream)
Saves the worksheets to an excel file.
|
void |
saveToExcelFile(java.io.OutputStream stream,
GridSaveOptions saveOptions)
Saves the worksheets to an excel file.
|
void |
saveToExcelFile(java.io.OutputStream stream,
int format)
Saves the worksheets to an excel file.
|
void |
saveToExcelFile(java.lang.String targetFile)
Saves the worksheets to an excel file with Excel 2003 format.
|
void |
saveToExcelFile(java.lang.String targetFile,
GridSaveOptions saveOptions)
Saves the worksheets to an excel file.
|
void |
saveToExcelFile(java.lang.String targetFile,
int format)
Saves the worksheets to an excel file.
|
protected java.lang.Object |
saveViewState()
Internal use only.
|
void |
setActiveCell(GridCell value)
Sets the active cell of the current sheet.
|
void |
setActiveCellBgColor(Color value)
Specifies the background color of the active cell.
|
void |
setActiveCellColor(Color value)
Specifies the color of the active cell.
|
void |
setActiveHeaderBgColor(Color value)
Specifies the background color of the active row/column header.
|
void |
setActiveHeaderColor(Color value)
Specifies the color of the active row/column header.
|
void |
setActiveSheetIndex(int value)
Sets the active sheet index.
|
void |
setActiveTabStyle(GridTableItemStyle value)
Specifies the style of the active tab.
|
void |
setACWClientPath(java.lang.String value)
Sets the web path of the script/image files of the control.
|
void |
setACWLanguageFileUrl(java.lang.String value)
Sets the web url of the language file of the control.
|
void |
setAutoRefreshChart(boolean value)
Sets whether the Chart image is updated while updating the cell value.the default is true
|
void |
setBottomTableStyle(GridTableStyle value)
Sets the style of the bottom bar of the control.
|
void |
setCalculateFormula(boolean value)
Sets whether to calculate formula after cell value changes or after import File.
|
void |
setCurrentPageIndex(int value)
Sets the current page index in paging mode.
|
void |
setCustomCalculationEngine(GridAbstractCalculationEngine value)
Represents user's custom calculation engine to extend the default calculation engine of Aspose.Cells.
|
void |
setCustomStyle(java.io.InputStream stream)
sets the custom style file from stream including disk file stream or memory stream.
|
void |
setCustomStyleFileName(java.lang.String value)
Sets the custom style file name.
|
void |
setDefaultFontName(java.lang.String value)
Sets the control's default font name.
|
void |
setDefaultFontSize(FontUnit value)
Sets the control's default font size.
|
void |
setDefaultGridLineColor(Color value)
Sets the default grid line's color.
|
void |
setDisplayCellTip(boolean value)
Sets whether to show tips.
|
static void |
setDPI(double value)
Gets /Sets the DPI of the machine.
|
void |
setEditMode(boolean value)
Sets the control's edit mode.
|
void |
setEnableAJAX(boolean value)
Sets whether to use AJAX call .
|
void |
setEnableAsync(boolean value)
Sets whether load cells data in asynchronous way,suggest to apply for one sheet with more than 10000 cells.
|
void |
setEnableClientColumnOperations(boolean value)
Sets whether to enable the client side column operations.
|
void |
setEnableClientFreeze(boolean value)
Sets whether to enable the client side freezing operations.
|
void |
setEnableClientMergeOperations(boolean value)
Sets whether to enable the client side merge operations.
|
void |
setEnableClientResizeColumnRow(boolean value)
Sets whether to enable the client side resize column and row.
|
void |
setEnableClientRowOperations(boolean value)
Sets whether to enable the client side row operations.
|
void |
setEnableDoubleClickEvent(boolean value)
Sets whether to enable customer side double-click event.
|
void |
setEnableMetalLightEffect(boolean value)
Sets whether to apply metal light effect.
|
void |
setEnablePaging(boolean value)
Sets whether to enable the control's paging mode.
|
void |
setEnableStyleDialogbox(boolean value)
Sets whether to enable the client side style dialogbox.
|
void |
setFilteredPaging(boolean value)
Sets whether to enable the paging after data filtered,will take affect when EnablePaging is true.
|
void |
setForceValidation(boolean value)
Sets whether to force customer side validation.
|
void |
setFrameTableStyle(GridTableStyle value)
Sets the frame style of the control.
|
void |
setGoonDefaultSaveOperation(boolean value)
Sets whether GridWeb will do the default save operation ,the default value is true.
|
void |
setHeaderBarHeight(Unit value)
Sets the height( System.Web.UI.WebControl.Unit ) of the top header bar of the control.
|
void |
setHeaderBarStyle(GridTableItemStyle value)
Sets the header bar's style.
|
void |
setHeaderBarTableStyle(GridTableStyle value)
Sets the header bar style of the control.
|
void |
setHeaderBarWidth(Unit value)
Sets the width( System.Web.UI.WebControl.Unit ) or the left header bar of the control.
|
void |
setHeight(Unit value)
Sets the height( System.Web.UI.WebControl.Unit ) of the control.
|
void |
setIgnoreStyleWithNoData(boolean value)
Sets whether GridWeb ignores showing rows or columns that do not contain cell values but are still styled.
|
void |
setLoadOptions(GridLoadOptions value)
Represents the loadoptions for GridWeb.
|
void |
setMaxColumn(int value)
Sets the maximum display column index(zero based) of the web sheet.
|
void |
setMaxRow(int value)
Sets the maximum display row index(zero based) of the web sheet.
|
void |
setMessage(java.lang.String value)
Sets the message for the grid.
|
void |
setMinColumn(int value)
Sets the minimum display column index(zero based) of the web sheet.
|
void |
setMinRow(int value)
Sets the minimum display row index(zero based) of the web sheet.
|
void |
setNeedRenderGroupRows(boolean value)
Sets whether to show grouprows .
|
void |
setNoHScroll(boolean value)
Sets a value indicating whether the horizontal scroll bar is hidden.
|
void |
setNoScroll(boolean value)
Sets whether to show scroll bar .
|
void |
setNoVScroll(boolean value)
Sets a value indicating whether the vertical scroll bar is hidden.
|
void |
setOnAjaxCallFinishedClientFunction(java.lang.String value)
Sets the client side function name to be called when ajaxcall finished.
|
void |
setOnCellErrorClientFunction(java.lang.String value)
Sets the client side function name to be called when a cell's validation is failed.
|
void |
setOnCellSelectedAjaxCallBackClientFunction(java.lang.String value)
Sets the client side function to be called when a cell is selected.
|
void |
setOnCellSelectedClientFunction(java.lang.String value)
Sets the client side function to be called when a cell is selected.
|
void |
setOnCellUnselectedClientFunction(java.lang.String value)
Sets the client side function to be called when a cell is unselected.
|
void |
setOnCellUpdatedClientFunction(java.lang.String value)
Sets the client side function name to be called when a cell's value is updated.
|
void |
setOnContextMenuShowClientFunction(java.lang.String value)
Sets the client side function to be called when the context menu will be shown.
|
void |
setOnDoubleClickCellClientFunction(java.lang.String value)
Sets the client side function to be called when a cell is double clicked.
|
void |
setOnDoubleClickRowClientFunction(java.lang.String value)
Sets the client side function to be called when a row is double clicked.
|
void |
setOnGridInitClientFunction(java.lang.String value)
Sets the client side function name to be called when the grid is initialized.
|
void |
setOnlyAuto(boolean value)
Sets whether only fit the rows which height are not customed,the default value is false
|
void |
setOnPageChangeClientFunction(java.lang.String value)
Sets the client side function to be called after page index changing.only take effect when EnablePaging is true.
|
void |
setOnPageSubmitClientFunction(java.lang.String value)
Sets the client function to be called before the page is submitted at client side.
|
void |
setOnShapeSelectedClientFunction(java.lang.String value)
Sets the client side function to be called when a shape is selected.
|
void |
setOnSubmitClientFunction(java.lang.String value)
Sets the client function to be called before the control is submitted at client side.
|
void |
setPageSize(int value)
Sets the page size in paging mode.
|
static void |
setPictureCachePath(java.lang.String value)
Sets the image storage path for the workbook,all the shapes,images will be stored in this directory,
the default path is acwcache under current application Base Directory
users need to implement a schedule service to clean the files those are out of session time.
|
void |
setPresetStyle(int value)
Sets the preset style.
|
void |
setRefreshValidation(boolean value)
Sets whether to refresh validation value after cell value changes.
|
void |
setRenderHiddenRow(boolean value)
Sets whether the hidden row is rendered in GridControl,the default value is false.
|
void |
setRowHeightForCSV(double value)
Sets the row height value in point for csv file ,default value is 14.5.
|
void |
setScrollBarArrowColor(Color value)
Specifies the color of the scrollbar's arrow button.
|
void |
setScrollBarBaseColor(Color value)
Specifies the color of the scroll bar of the control.
|
void |
setSelectCellBgColor(Color value)
Specifies the background color of the selected cells in multi-select range.
|
void |
setSelectCellColor(Color value)
Specifies the color of the selected cells in multi-select range.
|
void |
setSessionStorePath(java.lang.String value)
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
|
void |
setSettings(GridWorkbookSettings value)
Represents the workbook settings.
|
void |
setShowAddButton(boolean value)
Sets whether to show the add worksheet button.
|
void |
setShowBottomBar(boolean value)
Specifies whether to show the command bar(includes command bar and tab bar) at the bottom of the control.
|
void |
setShowCellEditBox(boolean value)
whether Gridweb shows edit box toolbar as in MS-EXCEL.if enable ,a edit box for current cell will display in Gridweb.
|
void |
setShowCommandBarAtTop(boolean value)
Specifies whether to show the command bar(includes command bar and tab bar) at the top of the control.
|
void |
setShowContextMenu(boolean value)
Sets whether to show the context menu.
|
void |
setShowDefaultGridLine(boolean value)
Sets whether to show the default grid lines of the cells.
|
void |
setShowHeaderBar(boolean value)
Sets whether to show header bar
|
void |
setShowLoading(boolean value)
Specifies whether to show a loading dialogbox while postbacking to server.
|
void |
setShowLoadingPosition(java.lang.String value)
Specifies the left,top postion(in px) to show the loading dialogbox while postbacking to server ,etc.
|
void |
setShowSaveButton(boolean value)
Sets whether to show the save button.
|
void |
setShowSubmitButton(boolean value)
Sets whether to show the submit button.
|
void |
setShowTabBar(boolean value)
Sets whether to show the tab bar.
|
void |
setShowTabNavigation(boolean value)
Sets whether the tab navigation button is show,the default value is true.
|
void |
setShowUndoButton(boolean value)
Sets whether to show the undo button.
|
void |
setSpanWrap(boolean value)
Specifies whether to wrap content in the cell span.the default value is true.
|
void |
setTabStyle(GridTableItemStyle value)
Sets the style of the tab bar.
|
void |
setUseClientPageHeight(boolean value)
Sets whether gridweb use client page height as control height ,suitable for when set Height="100%",default value is false
|
void |
setViewPanelScrollLeft(java.lang.String value)
Sets the position of the scroll bar of the grid's view panel.
|
void |
setViewPanelScrollTop(java.lang.String value)
Sets the position of the scroll bar of the grid's view panel.
|
void |
setViewTableStyle(GridTableStyle value)
Sets the data view panel's style.
|
void |
setWidth(Unit value)
Sets the width( System.Web.UI.WebControl.Unit ) of the control.
|
void |
setXhtmlMode(boolean value)
Sets whether to use XHTML style,the default value is true.
|
getBackColor, getBorderColor, getBorderStyle, getBorderWidth, getCssClass, getEnabled, getFont, getForeColor, getTabIndex, getToolTip, setBackColor, setBorderColor, setBorderStyle, setBorderWidth, setCssClass, setEnabled, setForeColor, setTabIndex, setToolTippublic WorkbookEventHandler SubmitCommand
public WorkbookEventHandler SaveCommand
public WorkbookEventHandler UndoCommand
public WorkbookEventHandler SheetTabClick
public CustomCommandEventHandler CustomCommand
public RowColumnEventHandler RowDoubleClick
public RowColumnEventHandler ColumnDoubleClick
public RowColumnEventHandler BeforeColumnFilter
public RowColumnEventHandler AfterColumnFilter
public CellEventHandler CellDoubleClick
public CellEventStringHandler CellClickOnAjax
public CellEventHandler CellModifiedOnAjax
public WorkbookEventHandler LoadCustomData
public WorkbookEventHandler AjaxCallFinished
public RowColumnEventHandler RowInserted
public SheetEventHandler SheetAdded
public RowColumnEventHandler RowDeleted
public RowColumnEventHandler RowDeleting
public RowColumnEventHandler ColumnInserted
public RowColumnEventHandler ColumnDeleted
public RowColumnEventHandler ColumnDeleting
public CellEventHandler CellCommand
public CellEventHandler CellClientUpdate
public WorkbookEventHandler PageIndexChanged
public GridWorkbookSettings getSettings()
public void setSettings(GridWorkbookSettings value)
public static double getDPI()
Remarks
public static void setDPI(double value)
Remarks
public GridLoadOptions getLoadOptions()
public void setLoadOptions(GridLoadOptions value)
public double getRowHeightForCSV()
public void setRowHeightForCSV(double value)
public void createChildControls()
protected void loadViewState(java.lang.Object savedState)
savedState - protected java.lang.Object saveViewState()
public void refreshChartShape()
public void importExcelFile(java.lang.String fileName,
java.lang.String passwordtoOpen)
fileName - The excel file's name.passwordtoOpen - the open password for the file which is encrypted .public void importExcelFile(java.lang.String fileName)
fileName - The excel file's name.public void loadCSVFile(java.lang.String fileName)
fileName - The file's name.public void loadCSVFile(java.io.InputStream stream)
stream - The file stream.public void loadHTMLFile(java.lang.String fileName)
fileName - The file's name.public void loadHTMLFile(java.io.InputStream stream)
stream - The file stream.public void loadSpreadSheetMLFile(java.lang.String fileName)
fileName - The file's name.public void loadSpreadSheetMLFile(java.io.InputStream stream)
stream - The file's stream.public void importExcelFile(java.io.InputStream stream,
java.lang.String passwordtoOpen)
stream - The excel file's stream, including disk file stream or memory stream.passwordtoOpen - the open password for the file which is encrypted .public void importExcelFile(java.io.InputStream stream)
stream - The excel file's stream, including disk file stream or memory stream.public void saveToExcelFile(java.lang.String targetFile)
targetFile - The name of the target file to write to.public void saveToExcelFile(java.io.OutputStream stream)
stream - The stream to write to.public void saveCSVFile(java.lang.String targetFile)
targetFile - The file's name.public void saveCSVFile(java.io.OutputStream stream)
stream - The file stream.public void saveHTMLFile(java.lang.String targetFile)
targetFile - The file's name.public void saveHTMLFile(java.io.OutputStream stream)
stream - The file stream.public void saveSpreadSheetMLFile(java.lang.String targetFile)
targetFile - The file's name.public void saveSpreadSheetMLFile(java.io.OutputStream stream)
stream - The file stream.public void saveToExcelFile(java.io.OutputStream stream,
int format)
stream - The stream to write to.format - GridSaveFormat. The file format(Excel2003, Excel2007, CSV, SpreadsheetML)public void saveToExcelFile(java.io.OutputStream stream,
GridSaveOptions saveOptions)
stream - The stream to write to.saveOptions - The save options.public void saveToExcelFile(java.lang.String targetFile,
int format)
targetFile - The name of the target file to write to.format - GridSaveFormat. The file format(Excel2003, Excel2007, CSV, SpreadsheetML)public void saveToExcelFile(java.lang.String targetFile,
GridSaveOptions saveOptions)
targetFile - The name of the target file to write to.saveOptions - The save options.public int getPageSize()
Remarks
When in paging mode, the control will display PageSize rows of data once, and display the page select control in the tab bar.public void setPageSize(int value)
Remarks
When in paging mode, the control will display PageSize rows of data once, and display the page select control in the tab bar.public boolean getFilteredPaging()
Remarks
When sets to true, the control will paging based on filtered data,the default value is false.public void setFilteredPaging(boolean value)
Remarks
When sets to true, the control will paging based on filtered data,the default value is false.public boolean getEnablePaging()
Remarks
When sets to true, the control will display PageSize rows of data once, and display the page select control in the tab bar.public void setEnablePaging(boolean value)
Remarks
When sets to true, the control will display PageSize rows of data once, and display the page select control in the tab bar.public boolean getShowDefaultGridLine()
public void setShowDefaultGridLine(boolean value)
public boolean getShowSubmitButton()
public void setShowSubmitButton(boolean value)
public boolean getShowSaveButton()
public void setShowSaveButton(boolean value)
public boolean getShowUndoButton()
public void setShowUndoButton(boolean value)
public boolean getShowAddButton()
public void setShowAddButton(boolean value)
public boolean getRefreshValidation()
public void setRefreshValidation(boolean value)
public boolean getOnlyAuto()
public void setOnlyAuto(boolean value)
public boolean isCalculateFormula()
public void setCalculateFormula(boolean value)
public Color getDefaultGridLineColor()
Example
GridWeb1.setDefaultGridLineColor(Color.getRed());
public void setDefaultGridLineColor(Color value)
public boolean getEnableDoubleClickEvent()
Remarks
When sets to true, the control will receive customer side double-click events and you may handle these events on the server side. Otherwise the control will ignore any double-click events.public void setEnableDoubleClickEvent(boolean value)
Remarks
When sets to true, the control will receive customer side double-click events and you may handle these events on the server side. Otherwise the control will ignore any double-click events.public boolean getForceValidation()
Remarks
When sets to true, data will not post to server until all input fields are valid.public void setForceValidation(boolean value)
Remarks
When sets to true, data will not post to server until all input fields are valid.public java.lang.String getDefaultFontName()
Example
GridWeb1.setDefaultFontName("Arial");
public void setDefaultFontName(java.lang.String value)
public FontUnit getDefaultFontSize()
Example
GridWeb1.setDefaultFontSize(new FontUnit("10pt"));
public void setDefaultFontSize(FontUnit value)
public boolean getEditMode()
Remarks
When sets to true, the control's cells are editable, and the "save" and the "undo" icon are displayed. When sets to false, the control's cells are readonly, and the "save" and the "undo" icon are not displayed.public void setEditMode(boolean value)
Remarks
When sets to true, the control's cells are editable, and the "save" and the "undo" icon are displayed. When sets to false, the control's cells are readonly, and the "save" and the "undo" icon are not displayed.public boolean getEnableStyleDialogbox()
Remarks
When sets to true, the user can use the style dialogbox to set a cell's style by selecting the "Format Cell..." from the popup menu.public void setEnableStyleDialogbox(boolean value)
Remarks
When sets to true, the user can use the style dialogbox to set a cell's style by selecting the "Format Cell..." from the popup menu.public boolean getEnableClientFreeze()
Remarks
When sets to true, the user can use the right-click menu to freeze/unfreeze panes.public void setEnableClientFreeze(boolean value)
Remarks
When sets to true, the user can use the right-click menu to freeze/unfreeze panes.public boolean getEnableClientColumnOperations()
Remarks
When sets to true, the user can use the right-click menu to add/remove columns.public void setEnableClientColumnOperations(boolean value)
Remarks
When sets to true, the user can use the right-click menu to add/remove columns.public boolean getEnableClientRowOperations()
Remarks
When sets to true, the user can use the right-click menu to add/remove rows.public void setEnableClientRowOperations(boolean value)
Remarks
When sets to true, the user can use the right-click menu to add/remove rows.public boolean getEnableClientMergeOperations()
Remarks
When sets to true, the user can use the right-click menu to merge/unmerge cells.public void setEnableClientMergeOperations(boolean value)
Remarks
When sets to true, the user can use the right-click menu to merge/unmerge cells.public boolean getEnableClientResizeColumnRow()
Remarks
When sets to true, the user can resize the column and row at client side.public void setEnableClientResizeColumnRow(boolean value)
Remarks
When sets to true, the user can resize the column and row at client side.public GridCell getActiveCell()
public void setActiveCell(GridCell value)
public int getActiveSheetIndex()
public void setActiveSheetIndex(int value)
public GridWorksheet getActiveSheet()
public GridWorksheetCollection getWorkSheets()
public java.lang.String getViewPanelScrollLeft()
public void setViewPanelScrollLeft(java.lang.String value)
public java.lang.String getViewPanelScrollTop()
public void setViewPanelScrollTop(java.lang.String value)
public Color getActiveCellBgColor()
public void setActiveCellBgColor(Color value)
public Color getSelectCellBgColor()
public void setSelectCellBgColor(Color value)
public Color getActiveHeaderBgColor()
public void setActiveHeaderBgColor(Color value)
public Color getActiveCellColor()
public void setActiveCellColor(Color value)
public Color getSelectCellColor()
public void setSelectCellColor(Color value)
public Color getActiveHeaderColor()
public void setActiveHeaderColor(Color value)
public GridTableItemStyle getTabStyle()
public void setTabStyle(GridTableItemStyle value)
public GridTableItemStyle getActiveTabStyle()
public void setActiveTabStyle(GridTableItemStyle value)
public Color getScrollBarBaseColor()
public void setScrollBarBaseColor(Color value)
public Color getScrollBarArrowColor()
public void setScrollBarArrowColor(Color value)
public java.lang.String getACWClientPath()
<configuration> section:<appSettings><add key="aspose.cells.gridweb.acw_client_path" value="/acw_client/" /></appSettings>public void setACWClientPath(java.lang.String value)
<configuration> section:<appSettings><add key="aspose.cells.gridweb.acw_client_path" value="/acw_client/" /></appSettings>public java.lang.String getACWLanguageFileUrl()
public void setACWLanguageFileUrl(java.lang.String value)
public int getCurrentPageIndex()
Remarks
When in paging mode, the control will display PageSize rows of data once, and display the page select control in the tab bar.public void setCurrentPageIndex(int value)
Remarks
When in paging mode, the control will display PageSize rows of data once, and display the page select control in the tab bar.public java.util.ArrayList getModifiedCells()
public boolean getEnableAsync()
public void setEnableAsync(boolean value)
public boolean getNoScroll()
public void setNoScroll(boolean value)
public boolean getNeedRenderGroupRows()
public void setNeedRenderGroupRows(boolean value)
public int getMinColumn()
Example
// Creates a 4x4 "display window".
GridWeb1.setMinRow(2);
GridWeb1.setMaxRow(5);
GridWeb1.setMinColumn(3);
GridWeb1.setMaxColumn(6);
public void setMinColumn(int value)
public int getMaxColumn()
Example
// Creates a 4x4 "display window".
GridWeb1.setMinRow(2);
GridWeb1.setMaxRow(5);
GridWeb1.setMinColumn(3);
GridWeb1.setMaxColumn(6);
public void setMaxColumn(int value)
public int getMinRow()
Example
// Creates a 4x4 "display window".
GridWeb1.setMinRow(2);
GridWeb1.setMaxRow(5);
GridWeb1.setMinColumn(3);
GridWeb1.setMaxColumn(6);
public void setMinRow(int value)
public int getMaxRow()
Example
// Creates a 4x4 "display window".
GridWeb1.setMinRow(2);
GridWeb1.setMaxRow(5);
GridWeb1.setMinColumn(3);
GridWeb1.setMaxColumn(6);
public void setMaxRow(int value)
public GridTableStyle getFrameTableStyle()
public void setFrameTableStyle(GridTableStyle value)
public GridTableStyle getHeaderBarTableStyle()
public void setHeaderBarTableStyle(GridTableStyle value)
public GridTableStyle getViewTableStyle()
public void setViewTableStyle(GridTableStyle value)
public GridTableStyle getBottomTableStyle()
public void setBottomTableStyle(GridTableStyle value)
public boolean getShowTabBar()
public void setShowTabBar(boolean value)
public boolean getEnableMetalLightEffect()
public void setEnableMetalLightEffect(boolean value)
public int getPresetStyle()
public void setPresetStyle(int value)
See PresetStyle.
public java.lang.String getCustomStyleFileName()
Remarks
The custom style file is an XML file. When sets the file name, the file will be loaded immediately. Hear is the content of the "standard preset style" ------------------------------------------------------- <Aspose.Cells.GridWeb.ViewerStyleTemplate runat="server" HeaderBarWidth="30pt" ScrollBarBaseColor="" FrameTableStyle-BorderStyle="Solid" FrameTableStyle-LeftBorderStyle-BorderWidth="" FrameTableStyle-LeftBorderStyle-BorderColor="" FrameTableStyle-RightBorderStyle-BorderWidth="" FrameTableStyle-RightBorderStyle-BorderColor="" FrameTableStyle-BorderWidth="1px" FrameTableStyle-CellSpacing="0" FrameTableStyle-BorderColor="Gray" FrameTableStyle-CellPadding="0" FrameTableStyle-TopBorderStyle-BorderWidth="" FrameTableStyle-TopBorderStyle-BorderColor="" FrameTableStyle-BottomBorderStyle-BorderWidth="" FrameTableStyle-BottomBorderStyle-BorderColor="" HeaderBarStyle-LeftBorderStyle-BorderStyle="Solid" HeaderBarStyle-LeftBorderStyle-BorderWidth="1px" HeaderBarStyle-LeftBorderStyle-BorderColor="White" HeaderBarStyle-VerticalAlign="Middle" HeaderBarStyle-RightBorderStyle-BorderStyle="Solid" HeaderBarStyle-RightBorderStyle-BorderWidth="1px" HeaderBarStyle-RightBorderStyle-BorderColor="Gray" HeaderBarStyle-BorderWidth="1px" HeaderBarStyle-Font-Size="10pt" HeaderBarStyle-BorderColor="Gray" HeaderBarStyle-BorderStyle="Solid" HeaderBarStyle-HorizontalAlign="Center" HeaderBarStyle-ForeColor="Black" HeaderBarStyle-TopBorderStyle-BorderStyle="Solid" HeaderBarStyle-TopBorderStyle-BorderWidth="1px" HeaderBarStyle-TopBorderStyle-BorderColor="White" HeaderBarStyle-BackColor="#E0E0E0" HeaderBarStyle-BottomBorderStyle-BorderStyle="Solid" HeaderBarStyle-BottomBorderStyle-BorderWidth="1px" HeaderBarStyle-BottomBorderStyle-BorderColor="Gray" ViewTableStyle-LeftBorderStyle-BorderWidth="" ViewTableStyle-LeftBorderStyle-BorderColor="" ViewTableStyle-LayoutFixed="Fixed" ViewTableStyle-RightBorderStyle-BorderWidth="" ViewTableStyle-RightBorderStyle-BorderColor="" ViewTableStyle-BorderWidth="0px" ViewTableStyle-CellSpacing="0" ViewTableStyle-CellPadding="0" ViewTableStyle-TopBorderStyle-BorderWidth="" ViewTableStyle-TopBorderStyle-BorderColor="" ViewTableStyle-BottomBorderStyle-BorderWidth="" ViewTableStyle-BottomBorderStyle-BorderColor="" BottomTableStyle-LeftBorderStyle-BorderWidth="" BottomTableStyle-LeftBorderStyle-BorderColor="" BottomTableStyle-LayoutFixed="Fixed" BottomTableStyle-RightBorderStyle-BorderWidth="" BottomTableStyle-RightBorderStyle-BorderColor="" BottomTableStyle-BorderWidth="0px" BottomTableStyle-CellSpacing="0" BottomTableStyle-CellPadding="1" BottomTableStyle-TopBorderStyle-BorderStyle="Solid" BottomTableStyle-TopBorderStyle-BorderWidth="1px" BottomTableStyle-TopBorderStyle-BorderColor="Gray" BottomTableStyle-BottomBorderStyle-BorderWidth="" BottomTableStyle-BottomBorderStyle-BorderColor="" HeaderBarHeight="15pt" ActiveTabStyle-LeftBorderStyle-BorderWidth="" ActiveTabStyle-LeftBorderStyle-BorderColor="" ActiveTabStyle-RightBorderStyle-BorderWidth="" ActiveTabStyle-RightBorderStyle-BorderColor="" ActiveTabStyle-Height="15pt" ActiveTabStyle-BorderWidth="1px" ActiveTabStyle-Font-Size="10pt" ActiveTabStyle-BorderColor="Gray" ActiveTabStyle-ForeColor="Black" ActiveTabStyle-TopBorderStyle-BorderWidth="" ActiveTabStyle-TopBorderStyle-BorderColor="" ActiveTabStyle-BackColor="White" ActiveTabStyle-BottomBorderStyle-BorderWidth="" ActiveTabStyle-BottomBorderStyle-BorderColor="" HeaderBarTableStyle-LeftBorderStyle-BorderWidth="" HeaderBarTableStyle-LeftBorderStyle-BorderColor="" HeaderBarTableStyle-LayoutFixed="Fixed" HeaderBarTableStyle-RightBorderStyle-BorderWidth="" HeaderBarTableStyle-RightBorderStyle-BorderColor="" HeaderBarTableStyle-BorderWidth="0px" HeaderBarTableStyle-CellSpacing="0" HeaderBarTableStyle-BorderCollapse="Separate" HeaderBarTableStyle-CellPadding="0" HeaderBarTableStyle-TopBorderStyle-BorderWidth="" HeaderBarTableStyle-TopBorderStyle-BorderColor="" HeaderBarTableStyle-BottomBorderStyle-BorderWidth="" HeaderBarTableStyle-BottomBorderStyle-BorderColor="" TabStyle-LeftBorderStyle-BorderWidth="" TabStyle-LeftBorderStyle-BorderColor="" TabStyle-RightBorderStyle-BorderWidth="" TabStyle-RightBorderStyle-BorderColor="" TabStyle-Height="15pt" TabStyle-BorderWidth="1px" TabStyle-Font-Size="10pt" TabStyle-BorderColor="Gray" TabStyle-ForeColor="Black" TabStyle-TopBorderStyle-BorderWidth="" TabStyle-TopBorderStyle-BorderColor="" TabStyle-BackColor="#E0E0E0" TabStyle-BottomBorderStyle-BorderWidth="" TabStyle-BottomBorderStyle-BorderColor="" ScrollBarArrowColor=""></Aspose.Cells.GridWeb.ViewerStyleTemplate>Example
GridWeb1.setCustomStyleFileName("c:\\style\\mystyle.xml");
public void setCustomStyleFileName(java.lang.String value)
Remarks
The custom style file is an XML file. When sets the file name, the file will be loaded immediately. Hear is the content of the "standard preset style" ------------------------------------------------------- <Aspose.Cells.GridWeb.ViewerStyleTemplate runat="server" HeaderBarWidth="30pt" ScrollBarBaseColor="" FrameTableStyle-BorderStyle="Solid" FrameTableStyle-LeftBorderStyle-BorderWidth="" FrameTableStyle-LeftBorderStyle-BorderColor="" FrameTableStyle-RightBorderStyle-BorderWidth="" FrameTableStyle-RightBorderStyle-BorderColor="" FrameTableStyle-BorderWidth="1px" FrameTableStyle-CellSpacing="0" FrameTableStyle-BorderColor="Gray" FrameTableStyle-CellPadding="0" FrameTableStyle-TopBorderStyle-BorderWidth="" FrameTableStyle-TopBorderStyle-BorderColor="" FrameTableStyle-BottomBorderStyle-BorderWidth="" FrameTableStyle-BottomBorderStyle-BorderColor="" HeaderBarStyle-LeftBorderStyle-BorderStyle="Solid" HeaderBarStyle-LeftBorderStyle-BorderWidth="1px" HeaderBarStyle-LeftBorderStyle-BorderColor="White" HeaderBarStyle-VerticalAlign="Middle" HeaderBarStyle-RightBorderStyle-BorderStyle="Solid" HeaderBarStyle-RightBorderStyle-BorderWidth="1px" HeaderBarStyle-RightBorderStyle-BorderColor="Gray" HeaderBarStyle-BorderWidth="1px" HeaderBarStyle-Font-Size="10pt" HeaderBarStyle-BorderColor="Gray" HeaderBarStyle-BorderStyle="Solid" HeaderBarStyle-HorizontalAlign="Center" HeaderBarStyle-ForeColor="Black" HeaderBarStyle-TopBorderStyle-BorderStyle="Solid" HeaderBarStyle-TopBorderStyle-BorderWidth="1px" HeaderBarStyle-TopBorderStyle-BorderColor="White" HeaderBarStyle-BackColor="#E0E0E0" HeaderBarStyle-BottomBorderStyle-BorderStyle="Solid" HeaderBarStyle-BottomBorderStyle-BorderWidth="1px" HeaderBarStyle-BottomBorderStyle-BorderColor="Gray" ViewTableStyle-LeftBorderStyle-BorderWidth="" ViewTableStyle-LeftBorderStyle-BorderColor="" ViewTableStyle-LayoutFixed="Fixed" ViewTableStyle-RightBorderStyle-BorderWidth="" ViewTableStyle-RightBorderStyle-BorderColor="" ViewTableStyle-BorderWidth="0px" ViewTableStyle-CellSpacing="0" ViewTableStyle-CellPadding="0" ViewTableStyle-TopBorderStyle-BorderWidth="" ViewTableStyle-TopBorderStyle-BorderColor="" ViewTableStyle-BottomBorderStyle-BorderWidth="" ViewTableStyle-BottomBorderStyle-BorderColor="" BottomTableStyle-LeftBorderStyle-BorderWidth="" BottomTableStyle-LeftBorderStyle-BorderColor="" BottomTableStyle-LayoutFixed="Fixed" BottomTableStyle-RightBorderStyle-BorderWidth="" BottomTableStyle-RightBorderStyle-BorderColor="" BottomTableStyle-BorderWidth="0px" BottomTableStyle-CellSpacing="0" BottomTableStyle-CellPadding="1" BottomTableStyle-TopBorderStyle-BorderStyle="Solid" BottomTableStyle-TopBorderStyle-BorderWidth="1px" BottomTableStyle-TopBorderStyle-BorderColor="Gray" BottomTableStyle-BottomBorderStyle-BorderWidth="" BottomTableStyle-BottomBorderStyle-BorderColor="" HeaderBarHeight="15pt" ActiveTabStyle-LeftBorderStyle-BorderWidth="" ActiveTabStyle-LeftBorderStyle-BorderColor="" ActiveTabStyle-RightBorderStyle-BorderWidth="" ActiveTabStyle-RightBorderStyle-BorderColor="" ActiveTabStyle-Height="15pt" ActiveTabStyle-BorderWidth="1px" ActiveTabStyle-Font-Size="10pt" ActiveTabStyle-BorderColor="Gray" ActiveTabStyle-ForeColor="Black" ActiveTabStyle-TopBorderStyle-BorderWidth="" ActiveTabStyle-TopBorderStyle-BorderColor="" ActiveTabStyle-BackColor="White" ActiveTabStyle-BottomBorderStyle-BorderWidth="" ActiveTabStyle-BottomBorderStyle-BorderColor="" HeaderBarTableStyle-LeftBorderStyle-BorderWidth="" HeaderBarTableStyle-LeftBorderStyle-BorderColor="" HeaderBarTableStyle-LayoutFixed="Fixed" HeaderBarTableStyle-RightBorderStyle-BorderWidth="" HeaderBarTableStyle-RightBorderStyle-BorderColor="" HeaderBarTableStyle-BorderWidth="0px" HeaderBarTableStyle-CellSpacing="0" HeaderBarTableStyle-BorderCollapse="Separate" HeaderBarTableStyle-CellPadding="0" HeaderBarTableStyle-TopBorderStyle-BorderWidth="" HeaderBarTableStyle-TopBorderStyle-BorderColor="" HeaderBarTableStyle-BottomBorderStyle-BorderWidth="" HeaderBarTableStyle-BottomBorderStyle-BorderColor="" TabStyle-LeftBorderStyle-BorderWidth="" TabStyle-LeftBorderStyle-BorderColor="" TabStyle-RightBorderStyle-BorderWidth="" TabStyle-RightBorderStyle-BorderColor="" TabStyle-Height="15pt" TabStyle-BorderWidth="1px" TabStyle-Font-Size="10pt" TabStyle-BorderColor="Gray" TabStyle-ForeColor="Black" TabStyle-TopBorderStyle-BorderWidth="" TabStyle-TopBorderStyle-BorderColor="" TabStyle-BackColor="#E0E0E0" TabStyle-BottomBorderStyle-BorderWidth="" TabStyle-BottomBorderStyle-BorderColor="" ScrollBarArrowColor=""></Aspose.Cells.GridWeb.ViewerStyleTemplate>public void setCustomStyle(java.io.InputStream stream)
stream - The file's stream, including disk file stream or memory stream.public void saveCustomStyleFile(java.lang.String fileName)
fileName - The style file's name.public boolean getShowHeaderBar()
public void setShowHeaderBar(boolean value)
public GridTableItemStyle getHeaderBarStyle()
public void setHeaderBarStyle(GridTableItemStyle value)
public Unit getWidth()
Example
GridWeb1.setWidth(new Unit(320, com.aspose.gridweb.UnitType.Point));
GridWeb1.setHeight(new Unit(240, com.aspose.gridweb.UnitType.Point));
getWidth in class WebControlpublic void setWidth(Unit value)
setWidth in class WebControlpublic Unit getHeight()
Example
GridWeb1.setWidth(new Unit(320, com.aspose.gridweb.UnitType.Point));
GridWeb1.setHeight(new Unit(240, com.aspose.gridweb.UnitType.Point));
getHeight in class WebControlpublic void setHeight(Unit value)
setHeight in class WebControlpublic Unit getHeaderBarWidth()
Example
GridWeb1.setHeaderBarWidth(new Unit(32, com.aspose.gridweb.UnitType.Point));
GridWeb1.setHeaderBarHeight(new Unit(24, com.aspose.gridweb.UnitType.Point));
public void setHeaderBarWidth(Unit value)
public Unit getHeaderBarHeight()
Example
GridWeb1.setHeaderBarWidth(new Unit(32, com.aspose.gridweb.UnitType.Point));
GridWeb1.setHeaderBarHeight(new Unit(24, com.aspose.gridweb.UnitType.Point));
public void setHeaderBarHeight(Unit value)
public boolean getXhtmlMode()
public void setXhtmlMode(boolean value)
public boolean getShowBottomBar()
public void setShowBottomBar(boolean value)
public boolean getShowCommandBarAtTop()
public void setShowCommandBarAtTop(boolean value)
public boolean getNoHScroll()
public void setNoHScroll(boolean value)
public boolean getEnableAJAX()
public void setEnableAJAX(boolean value)
public boolean getDisplayCellTip()
public void setDisplayCellTip(boolean value)
public boolean getShowContextMenu()
public void setShowContextMenu(boolean value)
public java.lang.String getShowLoadingPosition()
public void setShowLoadingPosition(java.lang.String value)
public boolean getShowLoading()
public void setShowLoading(boolean value)
public boolean getSpanWrap()
public void setSpanWrap(boolean value)
public boolean getNoVScroll()
public void setNoVScroll(boolean value)
public boolean getShowCellEditBox()
public void setShowCellEditBox(boolean value)
public boolean getShowTabNavigation()
public void setShowTabNavigation(boolean value)
public boolean getAutoRefreshChart()
public void setAutoRefreshChart(boolean value)
public boolean getRenderHiddenRow()
public void setRenderHiddenRow(boolean value)
public boolean getUseClientPageHeight()
public void setUseClientPageHeight(boolean value)
public boolean getGoonDefaultSaveOperation()
public void setGoonDefaultSaveOperation(boolean value)
public boolean getIgnoreStyleWithNoData()
public void setIgnoreStyleWithNoData(boolean value)
public java.lang.String getOnCellSelectedClientFunction()
public void setOnCellSelectedClientFunction(java.lang.String value)
public java.lang.String getOnPageChangeClientFunction()
public void setOnPageChangeClientFunction(java.lang.String value)
public java.lang.String getOnSubmitClientFunction()
public void setOnSubmitClientFunction(java.lang.String value)
public java.lang.String getSessionStorePath()
public void setSessionStorePath(java.lang.String value)
public static java.lang.String getPictureCachePath()
public static void setPictureCachePath(java.lang.String value)
public java.lang.String getOnPageSubmitClientFunction()
public void setOnPageSubmitClientFunction(java.lang.String value)
public java.lang.String getOnCellSelectedAjaxCallBackClientFunction()
public void setOnCellSelectedAjaxCallBackClientFunction(java.lang.String value)
public java.lang.String getOnShapeSelectedClientFunction()
public void setOnShapeSelectedClientFunction(java.lang.String value)
public java.lang.String getOnCellUnselectedClientFunction()
public void setOnCellUnselectedClientFunction(java.lang.String value)
public java.lang.String getOnDoubleClickCellClientFunction()
public void setOnDoubleClickCellClientFunction(java.lang.String value)
public java.lang.String getOnCellErrorClientFunction()
public void setOnCellErrorClientFunction(java.lang.String value)
public java.lang.String getOnCellUpdatedClientFunction()
public void setOnCellUpdatedClientFunction(java.lang.String value)
public java.lang.String getOnAjaxCallFinishedClientFunction()
public void setOnAjaxCallFinishedClientFunction(java.lang.String value)
public java.lang.String getOnGridInitClientFunction()
public void setOnGridInitClientFunction(java.lang.String value)
public java.lang.String getOnDoubleClickRowClientFunction()
public void setOnDoubleClickRowClientFunction(java.lang.String value)
public java.lang.String getOnContextMenuShowClientFunction()
public void setOnContextMenuShowClientFunction(java.lang.String value)
public GridAbstractCalculationEngine getCustomCalculationEngine()
public void setCustomCalculationEngine(GridAbstractCalculationEngine value)
public void calculateFormula()
public CustomCommandButtonCollection getCustomCommandButtons()
public java.lang.String getMessage()
public void setMessage(java.lang.String value)
See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.
We guarantee a prompt response to any inquiry!
© Aspose Pty Ltd 2003-2025. All Rights Reserved.