jhou2 / jquery-datatables-column-filter

Automatically exported from code.google.com/p/jquery-datatables-column-filter
0 stars 0 forks source link

Select direct tbody and tr to prevent inner table cause error #121

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
If someone use a custom render to embed another table as the content to a cell, 
this code inside _fnDrawCallBackWithGrouping will cause error:

var nTrs = $('tbody tr', oTable);

One solution is to use direct selector:

var nTrs = $('> tbody > tr', oTable);

Original issue reported on code.google.com by TyraelTong@gmail.com on 2 May 2013 at 5:39