MobileOptions
Mobile-specific configuration model
Signature:
export interface MobileOptionsRemarks
When setting it as an option in Grid, you only need to enter the necessary information.
Example
grid.setMobileOptions({longTapDuration: 300});Properties
| Property | Type | Description |
|---|---|---|
| doubleTapInterval | number | Maximum time between taps for a double tap to occur |
| longTapDuration | number | Minimum time to be recognized as a long tap |
| scrollOnEditing | ScrollOnEditing | |
| scrollPropagate | boolean | If false, when scrolling occurs inside the grid, it is not transmitted to the outside. |
| showEditCommander | boolean | Whether to show the edit commander |
| showSelectionHandle | boolean | If true, the handle that can change the size when selecting is shown. |
| showTooltip | boolean | Whether to show tooltips on mobile |
| tapThreshold | number | The range that determines whether a touch move is recognized as dragging or swiping. |
Properties Desc
doubleTapInterval
Maximum time between taps for a double tap to occur
Type - number
longTapDuration
Minimum time to be recognized as a long tap
Type - number
scrollOnEditing
Warning: This API is now obsolete.
Go to EditOptions.scrollOnEditing.
Processing when scrolling while editing on mobile
Type - ScrollOnEditing
scrollPropagate
If false, when scrolling occurs inside the grid, it is not transmitted to the outside.
Type - boolean
Remarks:
In some mobile devices, it is used to prevent the body area from scrolling instead of grid scrolling.
showEditCommander
Whether to show the edit commander
Type - boolean
showSelectionHandle
If true, the handle that can change the size when selecting is shown.
Type - boolean
showTooltip
Whether to show tooltips on mobile
Type - boolean
Remarks:
Other tooltip settings must be true.
tapThreshold
The range that is recognized as dragging or swiping when a touch move is made
Type - number