After apply filter the rowcount values are gone
After apply filter the rowcount values are gone
Hi, I'm using this example for my project: http://jsfiddle.net/nanoquantumtech/RgKPZ/ , on this example if you search for something the total rowcount numbers (red on the collapsible group) disappear after the search function, can you please help me understand how to keep those rowcounts numbers after the filter is applied?
Thank you for your help
This discussion has been closed.
Replies
Hi guys, any help on this I will appreciate it...
Thanks
I did try to call the fnUpdate api funtion, but I keep getting this error:
Uncaught TypeError: Cannot set property '_aData' of undefined
This is the code:
$('.dataTables_wrapper').find('[id|=group-id]').each(function () {
var rowCount = $(this).nextUntil('[id|=group-id]').length;
$(this).find('td').append($('<span />', { 'class': 'rowCount-grid' }).append($('<b />', { 'text': rowCount })));
var row = $(this).closest("tr").get(0);
var aPos = $('#example').fnGetPosition(row);
$('#example').fnUpdate($(this).find('td').html(),aPos);
});