If the DBTreeTableView Bean is bound to a foundset from a given table, and roots are added from that table using a related foundset, will new roots be automatically created via broadcasting if the related FS gets new records added?
var pob = elements.stock_by_purchase_order_table_treeview.createBinding('db', 'purchase_order');
pob.setTextDataprovider('purchase_order_number_customer');
pob.setToolTipTextDataprovider('purchase_order_number_customer');
pob.setNRelationName('some_n_relation');
Roots added from table that has been bound to, using a related foundset in hopes of getting broadcasts
elements.stock_by_purchase_order_table_treeview.addRoots(company_customer_to_purchase_order_is_in_stock) // Rel returns records from purchase_order table
Am I doing something wrong? Will new root nodes be added as company_customer_to_purchase_order_is_in_stock gets new records added, or do I have to manually call addRoots to get new root nodes.
Note…not shown is the binding on the n table. I don’t think that is relevant?
Note I marked this as a high priority, as I have this component in production thinking it works they way it should, but now realizing it does not. I’m sure others have made this mistake as well!