setNRelationsInfos in servoyextra-dbtreeview component

Forum to discuss the new web client version of Servoy.

setNRelationsInfos in servoyextra-dbtreeview component

Postby Rakesh.Sharma » Tue May 22, 2018 3:18 pm

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 ?
You do not have the required permissions to view the files attached to this post.
Rakesh.Sharma
 
Posts: 8
Joined: Mon May 29, 2017 8:13 am

Re: setNRelationsInfos in servoyextra-dbtreeview component

Postby Gabi Boros » Wed May 23, 2018 9:18 am

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
Gabi Boros
Servoy
Gabi Boros
 
Posts: 404
Joined: Tue Jun 26, 2007 4:03 pm
Location: Timisoara, Romania

Re: setNRelationsInfos in servoyextra-dbtreeview component

Postby robrecht » Wed May 23, 2018 11:03 am

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
robrecht
 
Posts: 99
Joined: Wed Aug 01, 2012 4:30 pm


Return to Servoy NGClient

Who is online

Users browsing this forum: No registered users and 11 guests