Revision: 4423 http://vexi.svn.sourceforge.net/vexi/?rev=4423&view=rev Author: clrg Date: 2012-07-17 00:39:00 +0000 (Tue, 17 Jul 2012) Log Message: ----------- Show row textcolor in basic table demo
Modified Paths: -------------- trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/table_basic.t Modified: trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/table_basic.t =================================================================== --- trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/table_basic.t 2012-07-17 00:35:26 UTC (rev 4422) +++ trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/table_basic.t 2012-07-17 00:39:00 UTC (rev 4423) @@ -1,7 +1,9 @@ -<!-- Copyright 2007 - see COPYING for details [LGPL] --> +<!-- Copyright 2012 - see COPYING for details [LGPL] --> -<vexi xmlns:ui="vexi://ui" xmlns:meta="vexi://meta" xmlns="vexi.widget.table" - xmlns:wi="vexi.widget" xmlns:lay="vexi.layout"> +<vexi xmlns:ui="vexi://ui" + xmlns:lay="vexi.layout" + xmlns:wi="vexi.widget" + xmlns="vexi.widget.table"> static.name = "Table (Basic)"; static.category = "Widgets"; @@ -46,10 +48,11 @@ for (var i,rowdata in data) { var r = new .row(); -// vexi.trace(i+": "+row); for (var j,celldata in rowdata) { -// vexi.trace($head[j].datatype+", "+celldata); r.add(new .cell($head[j].datatype, celldata)); + if (j==3) { + r.textcolor = celldata ? "black" : "gray"; + } } $body.add(r); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn