I have an AsyncTable populated with data from the database. What I want now is to click on any row, let’s say I have a table of people, and after clicking it loads data from another table based on let’s say id of a person from a clicked row.
There is a lot of possiblities of selecting a row, but I don’t want to select it, I want to go somewhere else right away. Is that possible? I found that you can add onclick events to elements in properties view, but I can’t ‘target’ a row to even get there. What I did for now is added a button for each row, then I added onclick method for that button and added a ‘control parameter’ to pass the id of a clicked record, it works.
Hence my next question, how can I get data from another table with that id, let’s say from address table, where id matches my id passed from the click? For the people table I just use database connector that I prepared before, and I can’t do that for addresses, because I don’t know what row is gonna be clicked. I can get all the addresses and then iterate through RowSet and find one with the id etc., but i’m sure that’s not the way to go. I noticed you can add ‘conditions’ to database connector, for example ‘WHERE id = 10’, but can it be used with id generated later?
#webMethods#MWS-CAF-Task-Engine#webMethods-BPMS