Organization chart

The 1C:Enterprise developers forum

#1
People who like this:0Yes/0No
Active user
Rating: 3
Joined: Apr 10, 2020
Company: HerSüreçYazılım

Hello,
I want to make a dynamic staff organization chart. How can I do it? The example is attached.


https://www.elcomblus.com/wp-content/uploads/2020/12/Vertical-Structure-Organization-Chart-1024x605.png

 
#2
People who like this:0Yes/0No
Active user
Rating: 3
Joined: Mar 10, 2017
Company: Rufinor

Hello!

One of the options is to use HTML field in 1C. You can use normal html code in it.

Certainly there are some other options but this is the easiest.

Kind regards,
Alexander

 
#3
People who like this:0Yes/0No
Administrator
Rating: 27
Joined: Oct 3, 2019
Company:

Hello Ertuğrul,

hm... it seems to me that in your case it will be easiest to use HTMLDocumentField and JavaScript inside this element.

How to work with this element I described here: https://1c-dn.com/blog/interaction-between-the-1c-platform-and-javascript/

If you have any questions, let me know, I'm interested myself in the topic of interaction between 1C and JavaScript.

 
#4
People who like this:0Yes/0No
Active user
Rating: 3
Joined: Apr 10, 2020
Company: HerSüreçYazılım

Hello Alexander,
Screenshot of the example I made in 1c:Enteprise.

 
#5
People who like this:0Yes/0No
Administrator
Rating: 27
Joined: Oct 3, 2019
Company:

Hello Ertuğrul,

it looks really cool!

Could you post a small example with the code here?

I think many developers would be interested to see how you implemented this :-)

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)
Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.