PDA

View Full Version : GridPanel + ColSpan or at least a way to access the HTML for a row.



eqttester
Mar 24, 2011, 10:04 PM
GridPanel + ColSpan or at least a way to access the HTML for a row.

Is there a way to set a colspan on a specifict column in a row for instance I have a row with the following data.

5 5 5 4 4 3 3 3

I want the 5's to be colspan of 3 so that the 5 only shows once.
I want the 4s to be colspan of 2 so that the 4 only shows once.
I want the 3s to be colspan of 3 so that the 3 only shows once.

eqttester
Mar 28, 2011, 11:43 PM
I am able to set the colpsan correctly now but the Grid does not span those columns once it is set.
Ext.get(grid.getView().getCell((rowIndex - 2), 0)).dom.colSpan = 5;