Binding knockout foreach with a table row
<p>I have the below table structure</p>

<pre><code>&lt;table style="width: 100%;"&gt;                                 
 &lt;tr&gt;
 &lt;td&gt;&lt;b&gt;Fund Value:&lt;/b&gt;&lt;/td&gt;
 &lt;td data-bind="text: ItemDetails().FundValue"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;b&gt;Fund Code:&lt;/b&gt;&lt;/td&gt;
 &lt;td data-bind="text: ItemDetails().FundCode"&gt;&lt;/td&gt;
 &lt;td&gt;&lt;b&gt;Fund Desc:&lt;/b&gt;&lt;/td&gt;
 &lt;td data-bind="text: ItemDetails().FundDesc"&gt;&lt;/td&gt;
    &lt;/tr&gt;
&lt;tr data-bind="foreach: ItemDetails().PriceRebates"&gt;                        

 &lt;td&gt;&lt;b&gt;Rebate Value:&lt;/b&gt;&lt;/td&gt;
  &lt;td data-bind="text: RebateValue"&gt;&lt;/td&gt;
  &lt;td&gt;&lt;b&gt;Rebate Code:&lt;/b&gt;&lt;/td&gt;
  &lt;td  data-bind="text: RebateCode"&gt;&lt;/td&gt;
  &lt;td&gt;&lt;b&gt;Rebate Desc:&lt;/b&gt;&lt;/td&gt;
  &lt;td  data-bind="text: RebateDesc"&gt;&lt;/td&gt;

   &lt;/tr&gt;
 &lt;/table&gt;
</code></pre>

<p>It's bound to the knockout viewmodel. The issue I am having is that the tr is bound to the foreach loop and so it is creating multiple td for the ItemDetails().PriceRebates knockout data which I do not want. I want multiple tr to be created for the ItemDetails().PriceRebates data. Can someone please tell me how I can achieve that.</p>

<p>Thanks</p>