cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to create a custom control using some external libraries?

Former Member
0 Likes
651

Hi All,

     I am trying to create a custom control which displays a Treegrid using the external libraries ,where i need to create the treegrid by specifying the div name in which the tree gets created.

for example :

In the above example we need to mention the "div id". So that the tree gets created in that div i.e "#treeGrid".

But when i try to create a custom control i can create a div only in the renderer() but not in onInit().

Therefore my question is how can we give a dynamic DIV ID to generate the tree in that respective div, moreover what is way to create this type of custom control.

The below link is the working example of the treegrid which need to be converted as custom control.

jQuery Tree Grid

Regards,

Saikiran Bommagowni

View Entire Topic
pavlo_denysyuk
Participant
0 Likes

     No need to use third party library. SAPUI5 has own tree control. First impression is that UI5 tree table is not worse then  jQuery Tree Grid. If You are following SAP UI principles - use correct control in correct place ))

here is component - https://experience.sap.com/fiori-design/ui-components/tree-table/

hope usefull.

Former Member
0 Likes

Hi Pavlo,

     It is my requirement, where i need to use it mandatorily and also it has many other features. So can you help me to find out the way to create a custom control for that.