RealGrid2 API
Interface
MobileOptions

MobileOptions

Mobile-specific configuration model

Signature:

export interface MobileOptions

Remarks

When setting it as an option in Grid, you only need to enter the necessary information.

Example

grid.setMobileOptions({longTapDuration: 300});

Properties

PropertyTypeDescription
doubleTapIntervalnumberMaximum time between taps for a double tap to occur
longTapDurationnumberMinimum time to be recognized as a long tap
scrollOnEditingScrollOnEditing
scrollPropagatebooleanIf false, when scrolling occurs inside the grid, it is not transmitted to the outside.
showEditCommanderbooleanWhether to show the edit commander
showSelectionHandlebooleanIf true, the handle that can change the size when selecting is shown.
showTooltipbooleanWhether to show tooltips on mobile
tapThresholdnumberThe 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