I am using jquery,knockout and WCF. I am loading data coming from WCF via Ajax request and push data into observable array. This observable array is binded to html table
<div style="overflow: hidden;" >
<table style="width: 100%" >
<thead>
<tr>
<th>Id </th>
<th>Name</th>
</tr>
</thead>
</table>
<div style="overflow: auto;height: 320px;">
<table id ="Table1" style="width: 100%;" >
<tbody data-bind="foreach: ListOfArray">
<tr data-bind= "click: showData">
<td data-bind="text: Id"></td>
<td data-bind="text: Name "></td>
</tr>
</tbody>
</table>
</div>
When i click on row then it takes 4-5 seconds to select it. I put profiler when i click on row. This is what it shows
Can someone point me where is it slowing down and why?