[Dojo-interest] RE: FilterTable Row Formatting

Tom Trenka dojo-interest at dept-z.com
Mon Jan 29 08:17:47 MST 2007


What version of Dojo are you using?


Scott Warren-2 wrote:
> 
> Sorry but it doesn’t seem to be the case if I have
> 
> <tr value="1"
> class="highlight"><td>Adam</td><td>3/1/2004</td><td>11/1/2003</td><td><p><st
> rong>Lorem ipsum</strong> dolor sit
> amet...</p><div>consectetuer</div></td></tr>
> 
> in the test_FilteringTable.html file where highlight is defined as
> 
> 		.highlight {
> 			background: red;
> 		}
> 
> Using firebug it seems that the TR no longer has a highlight class.
> Looking
> at the code it seem that the TR re-created but I cannot see how the class
> can be obtained from the original.
> 
> Regards
>  
>  
> Scott Warren
> 
> 
>> -----Original Message-----
>> From: dojo-interest-bounces at dojotoolkit.org [mailto:dojo-interest-
>> bounces at dojotoolkit.org] On Behalf Of Tom Trenka
>> Sent: Thursday, 25 January 2007 4:51 AM
>> To: dojo-interest at dojotoolkit.org
>> Subject: Re: [Dojo-interest] FilterTable Row Formatting
>> 
>> 
>> If you are using the HTML form of the widget (as in designating a regular
>> HTML table as a FilteringTable), you can simply add the class names
>> directly
>> to the rows.  IIRC I fixed that in 0.4.1.
>> 
>> If it's JSON, you can always loop through the table after it's created
>> and
>> set classes manually on it.
>> 
>> trt
>> 
>> 
>> Scott Warren-2 wrote:
>> >
>> > I am using Dojo 0.4.1-ajax, is there a way to format a Row in a
>> filtering
>> > table using CSS?
>> >
>> > I simply want to color code rows with red/yellow/green etc
>> >
>> > Regards
>> >
>> >
>> > Scott Warren
>> >
>> >
>> > _______________________________________________
>> > Dojo FAQ: http://dojo.jot.com/FAQ
>> > Dojo Book: http://manual.dojotoolkit.org/DojoDotBook
>> > Dojo-interest at dojotoolkit.org
>> > http://dojotoolkit.org/mailman/listinfo/dojo-interest
>> >
>> >
>> 
>> --
>> View this message in context: http://www.nabble.com/FilterTable-Row-
>> Formatting-tf3079722.html#a8568807
>> Sent from the Dojo mailing list archive at Nabble.com.
>> 
>> _______________________________________________
>> Dojo FAQ: http://dojo.jot.com/FAQ
>> Dojo Book: http://manual.dojotoolkit.org/DojoDotBook
>> Dojo-interest at dojotoolkit.org
>> http://dojotoolkit.org/mailman/listinfo/dojo-interest
> 
> _______________________________________________
> Dojo FAQ: http://dojo.jot.com/FAQ
> Dojo Book: http://manual.dojotoolkit.org/DojoDotBook
> Dojo-interest at dojotoolkit.org
> http://dojotoolkit.org/mailman/listinfo/dojo-interest
> 
> 

-- 
View this message in context: http://www.nabble.com/FilterTable-Row-Formatting-tf3079722.html#a8691038
Sent from the Dojo mailing list archive at Nabble.com.



More information about the Dojo-interest mailing list