[whatwg] Styling of datagrid content

Ian Hickson ian at hixie.ch
Mon Mar 12 16:05:42 PDT 2007


On Tue, 13 Mar 2007, Sean Hogan wrote:
>
> How do you define style for datagrids?
> e.g.
> - row color
> - alternating row color
> - selected row color
> - initial column widths
> - fixed column widths

The plan is to introduce some pseudo-elements in the rendering section. 
However, this will require coordination with the CSS working group.

   datagrid::row(odd)
   datagrid::row(even)
   datagrid::row(.foo.bar) /* to match rows with foo and bar classes */

...etc. I'll note your list of examples for when we get to that.

Cheers,
-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list