Spread for ASP.NET 12 Product Documentation
TapToAddSelection
Spread for ASP.NET 12 Product Documentation > Client-Side Scripting Reference > Scripting Members > Properties > TapToAddSelection

Gets or sets whether to allow adding a selection by tapping.

Syntax

[JavaScript]

ret = FpSpread1.TapToAddSelection;

Parameters

Boolean, true to allow tap to add selection; otherwise, false

Return Type

Boolean, true to allow tap to add selection; otherwise, false

Remarks

When this property is true, tap is similar to Ctrl + Click.

Example

This is a sample that contains the property. On the client side, the script that contains the property would look like this:

JavaScript
Copy Code
<SCRIPT language=javascript>
   function tap() {
       FpSpread1.TabToAddSelection = true;
   }
</SCRIPT>