0

How to collapse tree made by divs?

asked 2020-03-19 06:09:52 +0800

MiguelMdz gravatar image MiguelMdz
11 1

updated 2020-03-19 06:13:42 +0800

collapse one list made whit multiple divs, to moment of closing the parent Div, the children are open and not closed with the parent Div. I'm ussing jqery and jscript.

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-03-19 10:41:07 +0800

MDuchemin gravatar image MDuchemin
1586 1 5
ZK Team

Hi MiguelMdz,

Could you send a zkfiddle sample of your current code?

Are you trying to hide ZK divs and divs children on specific events? Or are you using a pure html + jQuery / JS page?

link publish delete flag offensive edit

Comments

I create an index relative, example: the level one have a level 2 and level 2 can or cant have level 3 and the level 3 can or not havelevel 4 and so forth, depending the query that is consuming. - The firt function is implement jQuery in a Zk. - The seccond option is implement script

MiguelMdz ( 2020-03-21 02:57:34 +0800 )edit

You mentioned that you already have a sample? can you share it as a fiddle?

MDuchemin ( 2020-03-30 17:58:53 +0800 )edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2020-03-19 06:09:52 +0800

Seen: 7 times

Last updated: Mar 19

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More