Hau Le
Hau Le

Reputation: 677

Is there the way to build the menu structure and output to JSON data?

I want to build the menu structure such as the WP menu structure.

enter image description here

So, Is there the way to build the menu structure and output to JSON data? Or please suggest to me the JS library if exist.

Thanks,

Upvotes: 0

Views: 142

Answers (2)

HSLM
HSLM

Reputation: 2012

check
https://github.com/dbushell/Nestable

this is a Demo
https://dbushell.com/Nestable/

it is exactly what you want, thank you

Upvotes: 1

RAHUL S R
RAHUL S R

Reputation: 1579

I think you should check out http://www.treejs.cn/v3/demo.php#_301

it has all the things you need ie drag and drop ajax load large data management

Upvotes: 1

Related Questions