Class SpreadsheetScrollOptionsBuilder<T>
Specifies class for scroll options which includes height, width, allowScrolling, allowVirtualScrolling and isResponsive properties.
Inheritance
Inherited Members
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class SpreadsheetScrollOptionsBuilder<T>
where T : class
Type Parameters
Name | Description |
---|---|
T |
Constructors
SpreadsheetScrollOptionsBuilder(SpreadsheetScrollSettings)
Initializes a new instance of the SpreadsheetScrollOptionsBuilder<T> with the specified scroll settings.
Declaration
public SpreadsheetScrollOptionsBuilder(SpreadsheetScrollSettings scroll)
Parameters
Type | Name | Description |
---|---|---|
SpreadsheetScrollSettings | scroll | The scroll settings. |
Methods
AllowScrolling()
Specifies to enable the scrolling.
Declaration
public SpreadsheetScrollOptionsBuilder<T> AllowScrolling()
Returns
Type | Description |
---|---|
SpreadsheetScrollOptionsBuilder<T> |
AllowScrolling(Boolean)
Specifies to indicate whether scrolling is enable or not.
Declaration
public SpreadsheetScrollOptionsBuilder<T> AllowScrolling(bool allowScrolling)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | allowScrolling | true if the scrolling is enabled; otherwise, false. |
Returns
Type | Description |
---|---|
SpreadsheetScrollOptionsBuilder<T> |
AllowSheetOnDemand()
Specifies to enable sheet on demand.
Declaration
public SpreadsheetScrollOptionsBuilder<T> AllowSheetOnDemand()
Returns
Type | Description |
---|---|
SpreadsheetScrollOptionsBuilder<T> |
AllowSheetOnDemand(Boolean)
Specifies to indicate whether sheet on demand is enable or not.
Declaration
public SpreadsheetScrollOptionsBuilder<T> AllowSheetOnDemand(bool allowSheetOnDemand)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | allowSheetOnDemand | true if the sheet on demand is enabled; otherwise, false. |
Returns
Type | Description |
---|---|
SpreadsheetScrollOptionsBuilder<T> |
AllowVirtualScrolling()
Specifies to enable the virtual scrolling.
Declaration
public SpreadsheetScrollOptionsBuilder<T> AllowVirtualScrolling()
Returns
Type | Description |
---|---|
SpreadsheetScrollOptionsBuilder<T> |
AllowVirtualScrolling(Boolean)
Specifies to indicate whether virtual scrolling is enable or not.
Declaration
public SpreadsheetScrollOptionsBuilder<T> AllowVirtualScrolling(bool allowVirtualScrolling)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | allowVirtualScrolling | true if the virtualization is enabled; otherwise, false. |
Returns
Type | Description |
---|---|
SpreadsheetScrollOptionsBuilder<T> |
Height(Object)
Specifies the height for Spreadsheet.
Declaration
public SpreadsheetScrollOptionsBuilder<T> Height(object height)
Parameters
Type | Name | Description |
---|---|---|
System.Object | height | The Spreadsheet height. |
Returns
Type | Description |
---|---|
SpreadsheetScrollOptionsBuilder<T> |
IsResponsive()
Specifies to enable responsive.
Declaration
public SpreadsheetScrollOptionsBuilder<T> IsResponsive()
Returns
Type | Description |
---|---|
SpreadsheetScrollOptionsBuilder<T> |
IsResponsive(Boolean)
Specifies to indicate whether responsive is enable or not.
Declaration
public SpreadsheetScrollOptionsBuilder<T> IsResponsive(bool isResponsive)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isResponsive | true if the responsive is enabled; otherwise, false. |
Returns
Type | Description |
---|---|
SpreadsheetScrollOptionsBuilder<T> |
ScrollMode(SpreadsheetScrollMode)
Specifies the mode of scrolling.
Declaration
public SpreadsheetScrollOptionsBuilder<T> ScrollMode(SpreadsheetScrollMode scrollMode)
Parameters
Type | Name | Description |
---|---|---|
SpreadsheetScrollMode | scrollMode | The scroll mode using scrollMode. It has enum type. |
Returns
Type | Description |
---|---|
SpreadsheetScrollOptionsBuilder<T> |
Width(Object)
Specifies the width for Spreadsheet.
Declaration
public SpreadsheetScrollOptionsBuilder<T> Width(object width)
Parameters
Type | Name | Description |
---|---|---|
System.Object | width | The Spreadsheet width. |
Returns
Type | Description |
---|---|
SpreadsheetScrollOptionsBuilder<T> |