datawindow (beas form)

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.

 

window

 

Methods

Function

Description

acceptText()

Trigger itemchange of  current changes, if field not left with tab or other keys

create(..)

Create new item / element

deleteRow(n)

deleteAllRow()

delete a row

dropdownFromColumns

Create dropdown string from 2 columns

filter(s)

Create a filter on DataWindow level

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)

insert a row in current position

rectangle(s,n,n,n,n[,s])

Create rectangle on this datawindow

reset()

Reset data window control (delete all rows and database connection)

rowCount()

Return count or rows

saveAs

Save datawindow to file

scrollToRow(n)

Set visible row to defined row

setRow(n)

Set new actual row. Parameter must be a number. Return new current row.

sort(s)

Sort the DataWindow

freeze(b)

Freeze, unfreeze datawindow

design(s)

 

init(s)

 

setdynamicgridcols(s)

 

udf

define and redraw the udf1-4 fields

isSelected

return count of selected rows

selectedRows

return select status of current row as boolean

selectRow

mark this line as selected

 

Properties

Property

R

W

Description

length

x

 

return count of rows

x

 

Return the items (control) collection from this datawindow

x

x

define left position (top / x position)

x

x

define top position (top / y position)

x

x

define the width (number or "max")

x

x

define the height (number or "max")

x

x

change the zoom factor, but ONLY for this datawindow

x

x

Define where

x

x

Define order

x

x

 

x

x

 

x

x

 

x

x

 

x

x

 

x

x

 

x

x

 

x

x

read or replace the sql statement behind a datawiindow

 

 

 

x

x

return, disable or activate multi select functionality in this datawindow