Skip to content

Commit

Permalink
fix Empty table header
Browse files Browse the repository at this point in the history
  • Loading branch information
asaguer committed May 17, 2023
1 parent 74b0749 commit aa49c1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/grid.filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -1275,7 +1275,7 @@ $.jgrid.extend({
$.each($t.p.colModel,function(ci){
var cm=this, soptions, select="", sot="=", so, i, st, csv, df, elem, restores,
th = $("<th role='columnheader' class='" + base.headerBox+" ui-th-"+$t.p.direction+" "+(cm.labelClasses || "")+"' id='gsh_" + $t.p.id + "_" + cm.name + "'></th>"),
thd = $("<div><span style=\"display: none;\"></span></div>"),
thd = $("<div><span aria-label=\"empty\" style=\"display: none;\">empty</span></div>"),
stbl = $("<table class='ui-search-table' cellspacing='0'><tr><td class='ui-search-oper' headers=''></td><td class='ui-search-input' headers=''></td><td class='ui-search-clear' headers=''></td></tr></table>");
if(this.hidden===true) { $(th).css("display","none");}
this.search = this.search === false ? false : true;
Expand Down

0 comments on commit aa49c1a

Please sign in to comment.