Joe404
3 Aug 2011, 8:56 AM
Hi to all!
I have a grid on the left and I have a tabPanel on the right. When I click a row from the grid, depending on the information coded in the row, I need to create several tabs in the tabPanel. In each new tab, except from the first, I need to put a dynamic grid. It should be dynamic, because I don't know it's column names and how much they are. I have tried so many different ideas and no one was completely successful. Please tell me what should be the right idea and some key moments for creating this task.
P.P.: The information for the dynamic grid/s is taken from normal JavaScript arrays. I've found here in the forum some script with functions, which is especially for adding and deleting columns in grid and I used it (http://www.sencha.com/forum/showthread.php?53009-Adding-removing-fields-and-columns).
I have a grid on the left and I have a tabPanel on the right. When I click a row from the grid, depending on the information coded in the row, I need to create several tabs in the tabPanel. In each new tab, except from the first, I need to put a dynamic grid. It should be dynamic, because I don't know it's column names and how much they are. I have tried so many different ideas and no one was completely successful. Please tell me what should be the right idea and some key moments for creating this task.
P.P.: The information for the dynamic grid/s is taken from normal JavaScript arrays. I've found here in the forum some script with functions, which is especially for adding and deleting columns in grid and I used it (http://www.sencha.com/forum/showthread.php?53009-Adding-removing-fields-and-columns).