Hi,
sorry I was in a meeting, but here we go:
The adjusting of the width is the problem, but I can offer you a solution.
Change the script of Denis to this:
Code:
// Fix width of columns
$(this).find("col.ddarrayseparator").attr('width',"2%");
$(this).find("th.th-14").attr('width','50%');
$(this).find("th.th-15").attr('width','50%');
$("#question"+qID+" table.question tbody tr").each(...
Maybe its not as smart as the origin solution.
And a design issue: A little bit further down there is var NewSelectElement, ther you add class='form-control'. The line should look like this:
Code:
var NewSelectElement = "<select id='"+idNewSelectFilter+"' class='form-control'><option value=''>"+$("#"+idSelectFilter+" option[value='']:first").text()+"</option></select>";
Hopefully it works.