Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding calculated field to data bound table
Message
From
08/06/2003 10:02:22
 
 
To
All
General information
Forum:
Internet
Category:
Microsoft Internet Explorer
Title:
Adding calculated field to data bound table
Miscellaneous
Thread ID:
00797750
Message ID:
00797750
Views:
44
I have found that expression in a data bound table does not work.

To reproduse:

1. Open the file databound.htm from the end of this message.
2. Type some digits to price column

Observed result:

Sum column is empty

Expected result:

Sum must be row sum, rounded to 2 digits after decimal.

Any idea how to add row sum to table ?

******** databoutn.htm contains:
<xml id="result" javaDSOCompatible="true"><result>
<row><item>pine</item><quantity>2</quantity><price>2.23</price></row>
<row><item>apple</item><quantity>3</quantity><price>1</price></row>
<row><item>orange</item><quantity>2.3</quantity><price>4.5</price></row>
</result></xml>

<TABLE DATASRC="#result">
<thead><th>Item</th><th>Price</th><th>Quantity</th><th>Sum</th>
</thead>

<tr>
<td><input type=text datafld=item></input></td>
<td><input type=text datafld=price></input></td>
<td><input type=text datafld=quantity></input></td>
<td><span datafld=price*quantity></span></td>
</tr></TABLE>
Andrus
Reply
Map
View

Click here to load this message in the networking platform