I have a jsp page called the loginPage.jsp which has a dhtmlxLayout component with 3L Layout. I have attached Accordions dynamcially to the cells (i.e “a’ cells) of the dhtmlxLayout by getting a ArrayList in the jsp page. This List gets a list of toplevel menus from my database. Within each accordion I want to display a datagrid with the ArrayList displayed on it based on the List id that I used in displaying the accordions . Here I mean a1, a2,a3 and so on . This should also happen dynamically how do I do it

my code looks something like this


var i;





Please give a quick reply

You can use attachGrid method to attach a grid to an accordion.

var grid = dhxAccord.cells(“a1”).attachGrid();