Hi John,
Thank you for contacting Syncfusion support.
Here are the answers for your queries,
Query-1 : Hierarchial treeview with 2 levels of children as REMOTE Data
You can achieve this requirement in offline mode of the remote data. Please find the code snippet
<e-treeview-fields id="id" text="name">
<e-data-manager url="/Treeview/GetAllData" adaptor="ODataV4Adaptor" crossDomain="true" offline="true"></e-data-manager>
</e-treeview-fields> |
Query-2: Adding a new item on right click add option
You can achieve this by integrating context menu in your application. You can add the ‘New Item' in the 'select’ event of context menu. We have prepared the sample based on the above queries. Please check the sample from the following link
Please let us know if you require any further assistance.
Thanks,
Christo