Is there a way to calculate the table columns using knockout.js? I am familiar with jQuery but new to knockout.js and unsure how to approach this. Instead of generating the table data using JSON, I would like to directly create it in the HTML table itself. Below is the sample HTML code:
<table>
<thead>
<tr>
<th>Price</th>
<th>Quantity</th>
<th>Amount</th>
</tr>
</thead>
<tbody>
<tr>
<td><input type="text"></td>
<td>2</td>
<td></td>
</tr>
<tr>
<td><input type="text"></td>
<td>1</td>
<td></td>
</tr>
<tr>
<td><input type="text"></td>
<td>2</td>
<td></td>
</tr>
<tr>
<td><input type="text"></td>
<td>100</td>
<td></td>
</tr>
</tbody>
Any advice or suggestions on how to achieve this?