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

Data Explorer sample – PB Docs 2021 – PowerBuilder Library

Data Explorer sample – PB Docs 2021

Data Explorer sample

Clicking on each TreeView level displays details in a DataWindow
on the right. For example, if you click a name in the TreeView
DataWindow on the left, detailed customer data displays in the
DataWindow on the right.

tvdataex.gif

You can click on any TreeView level in the Data Explorer. If you
click a company name in the TreeView DataWindow on the left (for
example, Able Inc., under Catherine Pickett), order information
displays on the right.

clconame.gif

If you click an order ID in the TreeView DataWindow on the left
(for example, order ID 2400, under Bilhome Industries, under Alison
Clark), the customer order information displays on the right.

dataxord.gif

Data Explorer TreeView
DataWindow

Here is the TreeView DataWindow used in the Data
Explorer.

dwsales1.gif

One TreeView DataWindow

The Data Explorer uses one TreeView DataWindow, but
DataWindows that are not TreeView DataWindows also support the Data
Explorer’s functionality.

Data Explorer code

The code in the Clicked event uses GetBandAtPointer to determine
which DataWindow to display. Clicking on some editable items in the
detail DataWindow opens a window in which you can manipulate the
data.

The PopMenu menu object has two menu items that call the
CollapseAll and ExpandAll methods to collapse or expand all the nodes
in the TreeView.


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