adding multiple tables on asp.net ..aplly jquery datatables to them along with filters...
adding multiple tables on asp.net ..aplly jquery datatables to them along with filters...
On a page i am adding two Repeaters and within the repeater i add a table sturcture to which i apply 'Jquery datatables'.. For the First Repeater i.e id=gdmedicine everything works fine i.e on button click the modulpopup control shows the table populated with required data, i can filter records as i apply column filtering, paging works good..the problem starts as i apply 'jquery datatables to another table(this one is also within another repeater..).. The jquery and css does not get applied on the 2nd table(i have applied css class for 2nd grid as display i.e
$('.dataTable').dataTable({ "aaSorting": [[0, "asc"]], "sPaginationType": "full_numbers", "sScrollY": "200px"
});
$('.dataTable').dataTable().columnFilter({
});
Also, the filtering of 1st grid stops as i add 'datasource' for repeater...
I get following error: DataTables warning (table id = 'tblOscarNominees'): The table cannot fit into the current element which will cause column misalignment. The table has been drawn at its minimum possible width.
Please help me resolve the issue...
$('.dataTable').dataTable({ "aaSorting": [[0, "asc"]], "sPaginationType": "full_numbers", "sScrollY": "200px"
});
$('.dataTable').dataTable().columnFilter({
});
Also, the filtering of 1st grid stops as i add 'datasource' for repeater...
I get following error: DataTables warning (table id = 'tblOscarNominees'): The table cannot fit into the current element which will cause column misalignment. The table has been drawn at its minimum possible width.
Please help me resolve the issue...
This discussion has been closed.