Page History
...
Table Row (tr) | |||||
---|---|---|---|---|---|
| |||||
|
Table Row (tr) | ||||
---|---|---|---|---|
|
...
Table Cell (td) |
---|
String |
...
Divcache | ||
---|---|---|
| DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY (EXCEPT INSIDE THE DIV BELOW WITH ID=DESCRIPTION), UNLESS YOU KNOW WHAT YOU'RE DOING.
...
id | description |
---|
...
padding | 0px |
---|---|
width | 80px |
...
Table Cell (td) |
---|
String |
...
| |||||||||||||
...
...
Table Cell (td) |
---|
Number |
...
Table Cell (td) |
---|
Number |
...
...
...
...
...
padding | 0px |
---|---|
width | 100% |
...
...
colspan | 1 |
---|
...
...
...
...
COPY |
...
...
Constant for copy drag operation. |
...
...
Returns |
...
...
Supported Clients |
...
id | sam |
---|
...
class | lastDetailRow |
---|
...
Sample |
...
class | sIndent |
---|
...
Code Block | ||
---|---|---|
| ||
function startDrag(event)
{
if(event.getElementName() == "copy")
return DRAGNDROP.COPY;
else if(event.getElementName() == "move")
return DRAGNDROP.MOVE
return DRAGNDROP.NONE;
} |
...
...
MIME_TYPE_SERVOY |
...
...
Constant used as mime type for servoy objects. |
...
...
Returns |
...
...
Supported Clients |
...
id | sam |
---|
...
class | lastDetailRow |
---|
...
Sample |
...
class | sIndent |
---|
...
Code Block | ||
---|---|---|
| ||
if (event.dataMimeType == DRAGNDROP.MIME_TYPE_SERVOY || event.dataMimeType == DRAGNDROP.MIME_TYPE_SERVOY_RECORD) {
application.output("Dropping is allowed" );
return true;
} else {
application.output("Dropping is not allowed" );
return false;
} |
...
...
MIME_TYPE_SERVOY_RECORD |
...
...
Constant used as mime type for servoy record objects. |
...
...
Returns |
...
...
Supported Clients |
...
id | sam |
---|
...
class | lastDetailRow |
---|
...
id | MOVE |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
...
class | lastDetailRow |
---|
...
id | NONE |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
...
class | lastDetailRow |
---|
...
Sample |
...
class | sIndent |
---|
...
Code Block | ||
---|---|---|
| ||
if (event.dataMimeType == DRAGNDROP.MIME_TYPE_SERVOY || event.dataMimeType == DRAGNDROP.MIME_TYPE_SERVOY_RECORD) {
application.output("Dropping is allowed" );
return true;
} else {
application.output("Dropping is not allowed" );
return false;
} |
MOVEConstant for move drag operation. Returns Supported Clients Sample NONEConstant for no drag operation. Returns Supported Clients Sample |
Overview
Content Tools
Activity