Fixed Filter Widget to Work without Checkbox Columns

This commit is contained in:
Andreas Österreicher
2018-11-20 17:38:02 +01:00
parent 6a26609aef
commit add301d5e1
+1 -1
View File
@@ -744,7 +744,7 @@ var FHC_FilterWidget = {
*/
_renderTableDataset: function(data) {
if (data.hasOwnProperty("checkboxes") && data.checkboxes.trim() != "")
if (data.hasOwnProperty("checkboxes") && data.checkboxes!=null && data.checkboxes.trim() != "")
{
$("#filterTableDataset > thead > tr").append("<th data-filter='false' title='Select'>Select</th>");
}