Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

IsRowSelected – PB Docs 125 – PowerBuilder Library

IsRowSelected – PB Docs 125

IsRowSelected method (DataWindows)

Description

Determines whether a row is selected in a DataWindow. A selected
row is highlighted using reverse video.

Controls

DataWindow type

Method applies to

Web

Client control

Syntax

[Web DataWindow client control]

Argument

Description

dwcontrol

A reference to a DataWindow control,
DataStore, or child DataWindow

row

A value identifying the row you want
to test to see if it is selected

Return Values

Returns true if row in dwcontrol is
selected and false if it is not selected. If row is
greater than the number of rows in dwcontrol or
is 0 or negative, IsRowSelected also returns false.

Usage

You can call IsRowSelected in a script
for the Clicked event to determine whether the row the user clicked
was selected. With IsRowSelected and SelectRow,
you can highlight a row on the client without causing a postback.

Examples

This code calls IsRowSelected to
test whether the clicked row is selected. If the row is selected, SelectRow deselects
it; if it is not selected, SelectRow selects
it:

See Also


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x