Question

3
Replies
118
Views
ChrisF Member since 2016 7 posts
Radial
Posted: 3 years ago
Last activity: 3 years 7 months ago
Closed
Solved

Does RDA Support Form.Control DataBinding?

I was attempting to build a proof of concept with little success. I'm unable to get controls to work with databinding (with the exception of setting the datasource on a datagridview, but even the standard databinding to the datagridview.tag does not update when filtering the source tableView).

There are 2 button controls on the form bound as such (with the tag associated with the tableView tag values, and text to text):

Both buttons are bound to text and tag values from the tableView2 object, which has a lookup table data provider that resides in a global container.
The automation seen below simply populates the lookup table with several test values, and implements the changing of the row filter (hard-coded into the combobox as Key1 to Key5).

Initial Load (No row filter, no bound button controls updated):

After row filter (no bound button controls updated):

I would expect the buttons below the combobox to be updated with that row's defined text and tag values (as defined in the databindings on the properties of that control). I have tried using rowfilter and filter properties, both will update the datagridview with the correct row, but neither update the bound control properties.

Does RDA support control data binding? Any guidance would be appreciated!

Thanks,
-Chris

Relevant Sources:
http://help.openspan.com/71/Components/Data_Table_Viewer.htm
http://help.openspan.com/71/Components/Updating_Controls_on_WinForms.htm (uses datasource, NOT databindings properties, how I set up my dvg to display the lookup table)

Robotic Process Automation
Moderation Team has archived post
Share this page LinkedIn