PDA

View Full Version : Row Expender



Soumya_Jagalur
15 Jan 2013, 3:11 AM
Hi,
If we see the example of Rowexpander in sencha (http://docs.sencha.com/ext-js/4-1/#!/example/grid/grid-plugins.html) here on rowexpander some static data is getting displayed. where the code is like this


for(var i = 0; i < griddata.length; i++){griddata[i].push('Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed metus nibh, sodales a, porta at, vulputate eget, dui. Pellentesque ut nisl. ');}

Here Griddata is an array or grid ... Here instead of bringing static i want to load the grid dynamically . On click of eah row i need to display the grid. How i can do this ?? Please help me out ...

mitchellsimoens
17 Jan 2013, 8:57 AM
So in a grid when you click on a row (itemclick event) you want to show another grid?

Soumya_Jagalur
17 Jan 2013, 10:14 PM
yes exactly on click of each row i need to show another grid dynamically ....

Soumya_Jagalur
21 Jan 2013, 8:46 PM
attachment