The biggest problem I have with the current renderer is that it uses "align=center" and there's no way that CSS can override that, that I've seen. So you always have centered column headers, which in most cases looks extremely odd when the rest of the contents are left-aligned.
On 9/12/05, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: > > I believe that the attached example will fit the bill. (Of course my > cockyness will probably be stuffed right back down my throat as I don't have > IE available right now. At least not without loading up vmware. ) > > jesse > > On 9/12/05, Mind Bridge <[EMAIL PROTECTED]> wrote: > > > > > meaning that for every column header it creates a table(!?). > > > Is there a reason for this? > > > > The first person who provides me with HTML that has the following > > properties wins <table> free column headers: > > > > - the column title may be more than one line, as it it may be long and > > may be wrapped by the browser > > > > - the sorting icon needs to be always on right of the column title, even > > if it wraps > > > > - the solution must work okay in multiple brosers and even when changing > > the width of the broser > > > > - the basic properties of the header can be changed with the customer > > CSS > > > > > > Just in case you were wondering, I have been trying to achieve the above > > with CSS only. Even though various solutions (some suggested on this list as > > well) work okay in the majority of cases, the results are frequently > > unacceptable. This especially applies to wrapping and the icon location. > > > > In contrast, <table> works rather well everywhere and in all cases, > > hence its use. > > > > -mb > > > > > > Dan Adams wrote: > > > > >I working with the table component and I was really suprised with > > >something. The SimpleTableColumnComponent has the following it it's > > >template: > > > > > ><table border="0" cellspacing="0" cellpadding="0" align="center"> > > > <tr> > > > <td><a jwcid="linkColumn"><span jwcid="insertSortedColumn"/></a></td> > > > <span jwcid="condSort"><td><span jwcid="imageSort" > > >align="center"/></td></span> > > > </tr> > > ></table> > > > > > >meaning that for every column header it creates a table(!?). Is there a > > >reason for this? I'm writing all xhtml with heavy css use so this gets > > >in the way pretty severely. What are my options as far being able to > > >change this renderer so it doesn't generate this stuff? Thanks. :) > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > >
