Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding calculated field to data bound table
Message
De
08/06/2003 10:02:22
 
 
À
Tous
Information générale
Forum:
Internet
Catégorie:
Microsoft Internet Explorer
Titre:
Adding calculated field to data bound table
Divers
Thread ID:
00797750
Message ID:
00797750
Vues:
45
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
Répondre
Fil
Voir

Click here to load this message in the networking platform