setNRelationsInfos in servoyextra-dbtreeview component

Hi ,

I am facing an issue in servoyextra-dbtreeview in my test application for create relations.

As we can using setNRelationsInfos for set relational node in component Bean(Class:DBTreeTablview) of servoy like given below :

var _binding1 = scopes.ui.createBinding(controller.getName(),‘treeview’,‘local_framework’, ‘m_to_p’);
_binding1.setHasCheckBoxDataprovider(‘has_checkbox’);
_binding1.setTextDataprovider(‘display_description’);

var _relations = new Array();
_relations[0] = _form.elements[“treeview”].createRelationInfo();
_relations[0].setLabel(‘Tabs’)
_relations[0].setNRelationName(‘program_to_tabs’)
_relations[1] = _form.elements[“treeview”].createRelationInfo();
_relations[1].setLabel(‘Buttons’)
_relations[1].setNRelationName(‘program_to_button’)

_binding1.setNRelationInfos(_relations);

Which gives 2 node named “Tabs” and “Buttons” having data inside individually node wise in treeview component (As shown in attached image).
Can anyone suggest how to use same scenario in servoyextra-dbtreeview component ?

hi,

‘setNRelationsInfos’ is not ported to the ng-version (see: https://wiki.servoy.com/display/DOCS/Up … DBTreeView );
you may create a feature request case for this (here: https://support.servoy.com ) so we can have a look if we can add support for this

Hi,

Do you have a workaround to accomplish the same?
I can file a feature request but that would take more time than a workaround…
I thought (hoped) that all functionalities were ported to the NG version

Thanks
Robrecht