Title: RE: [displaytag-user] How can I colspan ?

You could set the colspan property to a ridiculously large number, say 100. This ensures that no matter how many columns the table has, this cell will span them all.

Ed!

-----Original Message-----
From: David Friedman [mailto:[EMAIL PROTECTED]]
Sent: 02 February 2004 22:51
To: [EMAIL PROTECTED]
Subject: RE: [displaytag-user] How can I colspan ?


Yes, but can you make it generic to somehow read how many columns you are displaying (each <display:table> setup could be different) and therefore know the number to set in the colspan?

Regards,
David

> I suggested: >
public String finishRow() {
        MyBean myBean = (MyBean)this.getCurrentRowObject();
        return "<tr><td colspan="3">" + myBean.getDescription() + "</td></tr>";
}
Nice.
Ed!

Reply via email to