Present the dataWindow inside the document of current window
dataWindow is a report (in JavaScript the HTML File Name, in JBS the DataWindow "PSR" file name
First dataWindow is dw_1 and this is the name of the window self.
Methods
Function |
Description |
---|---|
acceptText() |
Trigger itemchange of current changes, if field not left with tab or other keys |
create(..) |
|
deleteRow(n) deleteAllRow() |
|
dropdownFromColumns |
|
filter(s) |
|
find(s [,n,n]) |
Search inside DatawNew Linkindow
|
isSelected(n) |
return true if current line is selected |
modify |
Allow to modify DataWindow Elements |
selectedRows() |
return count of selected rows |
selectRow(n,b) |
select or unselect row n |
insertrow(n) |
|
rectangle(s,n,n,n,n[,s]) |
|
reset() |
Reset data window control (delete all rows and database connection) |
rowCount() |
|
saveAs |
|
scrollToRow(n) |
|
setRow(n) |
Set new actual row. Parameter must be a number. Return new current row. |
sort(s) |
|
freeze(b) |
Freeze, unfreeze datawindow |
design(s) |
|
init(s) |
|
setdynamicgridcols(s) |
|
udf |
|
isSelected |
|
selectedRows |
|
selectRow |
Properties
Property |
R |
W |
Description |
---|---|---|---|
length |
x |
|
return count of rows |
items |
x |
|
|
left |
x |
x |
define left position (top / x position) |
top |
x |
x |
define top position (top / y position) |
width |
x |
x |
define the width (number or "max") |
height |
x |
x |
define the height (number or "max") |
zoom |
x |
x |
change the zoom factor, but ONLY for this datawindow |
where1-4 |
x |
x |
Define where |
order1-4 |
x |
x |
Define order |
vscrollbar |
x |
x |
|
hscrollbar |
x |
x |
|
verticalscrollposition |
x |
x |
|
horizontalscrollposition |
x |
x |
|
horizontalscrollposition2 |
x |
x |
|
horizontalscrollsplit |
x |
x |
|
hsplitscroll |
x |
x |
|
tableselect |
x |
x |
|
visible |
|
|
|
multiSelect |
x |
x |
return, disable or activate multi select functionality in this datawindow |