var n=0;
TextArea1=Document.getElementById("TextArea1");
Label1=Document.getElementById("Label1");
DragDrop1.onTargetDrop = function() {
n += 1;
TextArea1.value=TextArea1.value + Label1.textContent + " " + n + '\n';
}
Created page with "file:jqxDrag.png == Description == The Grid is a powerful jQuery widget that displays tabular data. It offers rich support for interacting with data, including paging, gr..." |
No edit summary |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
== Description == | == Description == | ||
jqxDragDrop is a plugin which will make any control draggable. It can be used in combination with many widgets like jqxTree, jqxGrid, jqxListBox and etc. | |||
jqWidgets is a commercial product, which depending on how you use it, requires a license fee. Complete details are on jqWidget's website. The product is well supported. | |||
== Properties and Methods == | == Properties and Methods == | ||
This control is well documented on the jqWidget's website: http://www.jqwidgets.com/jquery-widgets-documentation/. | |||
http://www.jqwidgets.com/jquery-widgets-documentation/ | |||
== Example == | == Example == | ||
< | <tabber> | ||
JavaScript= | |||
<syntaxhighlight lang="JavaScript"> | |||
var n=0; | |||
TextArea1=Document.getElementById("TextArea1"); | |||
Label1=Document.getElementById("Label1"); | |||
DragDrop1.onTargetDrop = function() { | |||
n += 1; | |||
TextArea1.value=TextArea1.value + Label1.textContent + " " + n + '\n'; | |||
} | |||
</syntaxhighlight> | |||
|-| | |||
BASIC= | |||
<syntaxhighlight lang="vb.net"> | |||
</ | Dim n=0 | ||
Function DragDrop1_onTargetDrop() | |||
n=n+1 | |||
TextArea1.value=TextArea1.value & Label1.textContent & " " & n & vbCRLF | |||
End Function | |||
</syntaxhighlight> | |||
</tabber> | |||
== Output == | == Output == | ||
See above. | |||
[[Category:Language Reference]] | |||
[[Category:jqWidgets]] | |||
[[Category:Controls]] |
jqxDragDrop is a plugin which will make any control draggable. It can be used in combination with many widgets like jqxTree, jqxGrid, jqxListBox and etc.
jqWidgets is a commercial product, which depending on how you use it, requires a license fee. Complete details are on jqWidget's website. The product is well supported.
This control is well documented on the jqWidget's website: http://www.jqwidgets.com/jquery-widgets-documentation/.
var n=0;
TextArea1=Document.getElementById("TextArea1");
Label1=Document.getElementById("Label1");
DragDrop1.onTargetDrop = function() {
n += 1;
TextArea1.value=TextArea1.value + Label1.textContent + " " + n + '\n';
}
Dim n=0
Function DragDrop1_onTargetDrop()
n=n+1
TextArea1.value=TextArea1.value & Label1.textContent & " " & n & vbCRLF
End Function
See above.