On 12/4/13 2:28 PM, "Harbs" <harbs.li...@gmail.com> wrote:
>It does seem that the table elements were styled after html tables. >That's where the column groups and table body elements come in: >http://www.w3schools.com/tags/tag_colgroup.asp >http://www.w3schools.com/tags/tag_tbody.asp > >I think too much effort was made to style TLF after htmlÅ Maybe, but we heard lots of attempts to make TLF do HTML, so I'm not surprised that the code reflects some of that. FWIW, back in the MX DataGrid days, I thought of trying to rowspan by changing the z-order of the rows and cells so that a cell that spanned a row was "above" everything else. -Alex > >On Dec 5, 2013, at 12:20 AM, Harbs wrote: > >> >> On Dec 4, 2013, at 7:29 PM, Alex Harui wrote: >> >>> >>> >>> On 12/4/13 6:40 AM, "Harbs" <harbs.li...@gmail.com> wrote: >>> >>>> I didn't explain myself very well here. >>>> >>>> My point is that TLF elements inherit from their parents and we'd get >>>> that inheritance from the rows for free if cells are children of rows. >>> Yup, so if you set background color on the row it should cover the >>>margins >>> and padding between cells of that row, right? >> >> Makes sense to me. Although, html table seem to not work like that. The >>background color is only for the cell area. >> >>> I don't know how it is done in the browser. If you specify a row with >>>a >>> blue background and the next row has red background but a cell in the >>>blue >>> row has rowSpan=2 does the blue in that cell cover the red? >> >> Good question. I just tried and the red is replaced with blue. >>> >>>> >>>> On Dec 4, 2013, at 4:38 PM, Harbs wrote: >>>> >>>>> If anything table/row/cell gives more flexibility. >>>> >>> >> >