Would be great to have a OrgChart wisej control

Answered
0
0

Would be great to have a OrgChart wisej control/extension like this:
https://github.com/dabeng/OrgChart
(See demos)
Thanks in advance!

  • You must to post comments
Best Answer
1
0

I have attached an example of how to use Wisej.Web.Widget with the OrgChart and retrieve the data using  Wisej WebMethod call.

 

When you open it in design mode, select InitScript and open the editor. You can see the initialization code (see below).

When in design mode, it will show some simple placeholder data. When running, it will call the GetOrgChartData() method on the parent page and then initialize the chart object using the data received from the server. It will also attach the “click” event on each node and fire the WidgetEvent on the server.

All the code in there depends on the widget you are using.

There are other ways to get the data from the server,  but calling the WebMethod allows you also to call different methods, update the data, etc.

 

 

In design mode you’ll see the placeholder design data.

 

 

Attachment
  • You must to post comments
0
0

Same as https://wisej.com/support/question/hi-something-like-particle-js

As I wrote, you can import and use anything without an extension. The Wisej extension controls wire .NET properties and methods to the widget and make integrate it a bit more deeply. The different types of integration are described here: https://wisej.com/?smd_process_download=1&download_id=3921

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.