Turn of orgchart edit menu in taghelper

1 Answer 154 Views
OrgChart
Ian
Top achievements
Rank 1
Ian asked on 14 Dec 2022, 02:20 PM

Using the taghelper for the orgchart. How do I turn off the edit functions (Edit, Create, Delete) using the default layout? Within the transport, I only have the read action defined. I don't really want to create a template if the default layout is adequate. Seems there is an option (editable) in Kendo UI for jQuery, but not the taghelper.

Using Telerik.UI.for.AspNet.Core 2022.3.1109

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Mihaela
Telerik team
answered on 19 Dec 2022, 08:12 AM

Hi Ian,

You can disable the edit options of the OrgChart TagHelper through the "editable" tag:

<kendo-orgchart name="orgchart">
    <editable enabled="false" />
     ...
</kendo-orgchart>

Here is a REPL example for your reference:

https://netcorerepl.telerik.com/mclmbjkW09UWBrIl40

 

Regards, Mihaela Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
OrgChart
Asked by
Ian
Top achievements
Rank 1
Answers by
Mihaela
Telerik team
Share this question
or