GridPanel + ColSpan or at least a way to access the HTML for a row.

  1. #1

    GridPanel + ColSpan or at least a way to access the HTML for a row.

    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.
  2. #2
    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;

Similar Threads

  1. Replies: 0
    Last Post: May 04, 2012, 10:13 PM
  2. How to update GridPanel with access db
    By Fabrizio in forum 1.x Help
    Replies: 3
    Last Post: Mar 31, 2012, 4:45 AM
  3. Tablelayout & colspan- best practices
    By springrider in forum 1.x Help
    Replies: 0
    Last Post: Aug 18, 2011, 10:35 PM
  4. Replies: 4
    Last Post: Nov 10, 2010, 3:17 PM
  5. portlet with colspan
    By testix in forum 1.x Help
    Replies: 0
    Last Post: May 08, 2009, 9:57 AM

Posting Permissions