* common: fix sort by click dtable header not work.

This commit is contained in:
sunhao
2023-12-13 16:45:50 +08:00
parent 560fc5ae96
commit 0fa1252b82
+1
View File
@@ -33,6 +33,7 @@ zui.DTable.definePlugin(
if(col.fixed == 'no') col.fixed = false;
if(col.type === 'html' && col.flex === undefined) col.flex = col.width === 'auto' ? 1 : false;
if(col.width === 'auto') allLeftColsFixed = false;
delete col.sort;
return col;
});
return $.extend({fixedLeftWidth: '40%'}, options, {