javascript - How to build a tree select box ui in jsp with js, bootstrap -


first, trying build ui below.

enter image description here

i have data below format ...

{'id' : '0001', 'name' : 'products', 'parents' : '*'} 

i have tried <optgroup> not looks :< currently, not have idea how start this.

to this, got several questions.

  1. what should call type of ui? (terminology)
  2. is there libraries implements spec?
  3. a sample code might great :d (it best if uses bootstrap, still great without bootstrap)

thanks :d

the term calling type of ui

combotree

i have applied jquery-easy-ui http://www.jeasyui.com/

caution : library build unwanted ui automatically, if need customize set !important css attributes.


Comments

Popular posts from this blog

python - Healpy: From Data to Healpix map -

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -