I have angularjs project.I have used jquery-ui selectable to select cell from table.If i used table with 10 rows and 10 cols selectable is working fine.
but when Create table with 50rows and 50 cols it will create to much lagging and browser goes hang.
I have updated my code :
var table = '<table id="my-table-1" ><tr><td></td></tr></table>';
$('#my-container').html(table);
//insert
var html = "";
for (var i = 0; i < 25; i++) {
html += '<tr>';
for (var j = 0; j < 25; j++) {
html += '<td></td>';
}
html += '</tr>';
}
$('#my-table-1').html(html);
$('#my-table-1').selectable();