Yii Framework Forum: checkbox list tree structure - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

checkbox list tree structure how to create checkbox list provided menu array and submenu array

#1 User is offline   OverDose 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 4
  • Joined: 12-April 15

Posted 19 June 2015 - 11:49 PM

I have menu array like..........
$menuItems = ArrayHelper::map($menuItems, 'menu_id', 'menu_name');


and sub-menu array like.........
$submenuItems = ArrayHelper::map($submenuItems, 'submenu_id', 'submenu_name');


now in the data base sub-menus are grouped under some menu...
in view form how can i form a tree structure with checkbox list like there will be menus checkboxlist
under which there would be corrosponding sub-menus checkbox list.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users