Skip to content

Commit

Permalink
Fix wrong closing table in BuildColMenu See : #1069
Browse files Browse the repository at this point in the history
  • Loading branch information
tonytomov committed Aug 5, 2024
1 parent 3dea59b commit ea2dfe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/grid.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -5299,7 +5299,7 @@ $.fn.jqGrid = function( pin ) {
ts.p.sortorder = ts.p.sortorder.toLowerCase();
$.jgrid.cell_width = $.jgrid.cellWidth();
// calculate cellLayout
var bstw2 = $("<table style='visibility:hidden'><tr class='jqgrow'><td>1</td></tr></table)").addClass(getstyle(stylemodule,"rowTable", true, 'ui-jqgrid-btable ui-common-table'));
var bstw2 = $("<table style='visibility:hidden'><tr class='jqgrow'><td>1</td></tr></table>").addClass(getstyle(stylemodule,"rowTable", true, 'ui-jqgrid-btable ui-common-table'));
$(eg).append(bstw2);
ts.p.cellLayout = $.jgrid.floatNum( $("td", bstw2).css('padding-left')) + $.jgrid.floatNum($("td", bstw2).css('padding-right'), 10) + 1;
if(ts.p.cellLayout <=0 ) {
Expand Down

0 comments on commit ea2dfe3

Please sign in to comment.