| How to set table-cell's border more faster, currently create style and bind to cell one by one. [message #160917] |
Mon, 15 May 2006 05:58 |
Eclipse User |
|
|
|
Originally posted by: xy.nil.net
Setting up cell border is pretty boring. Is it the only way to do so.
I known in html web page, I just set the border of the table, then every
cell's border is also set.
<detail>
<row id="114">
<property name="style">cell_border</property>
<cell id="115">
<property name="style">cell_border</property>
<data id="116">
<expression
name="valueExpr">row["bill_code"]</expression>
</data>
</cell>
<cell id="117">
<property name="style">cell_border</property>
<data id="118">
<expression
name="valueExpr">row["ship_cn_name"]</expression>
</data>
</cell>
<cell id="119">
<property name="style">cell_border</property>
<data id="120">
<expression
name="valueExpr">row["ship_en_name"]</expression>
</data>
</cell>
<cell id="121">
<property name="style">cell_border</property>
<data id="122">
<property name="style">cell_money</property>
<structure name="dateTimeFormat">
<property name="category">Medium
Date</property>
<property name="pattern">Medium
Date</property>
</structure>
<expression
name="valueExpr">row["pilot_date"]</expression>
</data>
</cell>
<cell id="123">
<property name="style">cell_border</property>
<data id="124">
<property name="style">cell_money</property>
<expression
name="valueExpr">row["net_ton"]</expression>
</data>
</cell>
<cell id="125">
<property name="style">cell_border</property>
<data id="126">
<property name="style">cell_money</property>
<expression
name="valueExpr">row["basic_fee"]</expression>
</data>
</cell>
<cell id="127">
<property name="style">cell_border</property>
<data id="128">
<property name="style">cell_money</property>
<expression
name="valueExpr">row["holiday_fee"]</expression>
</data>
</cell>
<cell id="129">
<property name="style">cell_border</property>
<data id="130">
<property name="style">cell_money</property>
<expression
name="valueExpr">row["night_fee"]</expression>
</data>
</cell>
<cell id="131">
<property name="style">cell_border</property>
<data id="132">
<property name="style">cell_money</property>
<expression
name="valueExpr">row["total_fee"]</expression>
</data>
</cell>
<cell id="133">
<property name="style">cell_border</property>
<data id="134">
<structure name="dateTimeFormat">
<property name="category">Medium
Date</property>
<property name="pattern">Medium
Date</property>
</structure>
<expression
name="valueExpr">row["invoice_date"]</expression>
</data>
</cell>
</row>
</detail>
|
|
|
Powered by
FUDForum. Page generated in 0.04402 seconds