小分辨率下菜单排序列不显示省略号,操作列显示水平滚动条

This commit is contained in:
thinkgem
2023-11-01 15:40:00 +08:00
parent 51542c11ed
commit 128690bd2a
2 changed files with 3 additions and 1 deletions

View File

@@ -98,7 +98,7 @@ $('#dataGrid').dataGrid({
return '<a href="javascript:" title="按模块查询" onclick="$(\'#moduleCodes\').val($(this).text());$(\'#dataGrid\').dataGrid(\'refreshTree\',1);">'+val+'</a>';
}},
{header:'${text("链接")}', name:'menuHref', width:150},
{header:'${text("排序")}', name:'treeSort', width:63, align:"center", formatter: function(val, obj, row, act){
{header:'${text("排序")}', name:'treeSort', width:63, align:"center", classes:"clip p0", formatter: function(val, obj, row, act){
var html = [];
//# if(hasPermi('sys:menu:edit')){
html.push('<input type="hidden" name="ids" value="'+row.id+'"/>');

View File

@@ -294,6 +294,8 @@ a.g-menu-item, a.soptclass, a.clearsearchclass { cursor: pointer; }
.ui-jqgrid tr.jqgrow, .ui-jqgrid tr.ui-row-ltr, .ui-jqgrid tr.ui-row-rtl {border:none;}
.ui-jqgrid tr.ui-row-ltr td, .ui-jqgrid tr.ui-row-rtl td {border-bottom:1px solid #ddd;border-color:#E1E1E1;}
.ui-jqgrid tr.jqgrow td {height:39px;padding:3px 6px;white-space:nowrap;text-overflow:ellipsis;} /* 溢出省略 */
.ui-jqgrid tr.jqgrow td.clip {text-overflow:clip;} /* 不显示省略号,截断显示 */
.ui-jqgrid tr.jqgrow td.actions {overflow-x:auto;text-overflow:clip;} /* 操作列样式 */
.ui-jqgrid tr.jqgrow td.textarea {white-space:normal;} /* 允许单元格换行 */
.ui-jqgrid td.jqgrid-rownum {padding:0 !important;margin:0;border:0 none;} /* 序号 */
.ui-jqgrid tr.jqgrow td.jqgrid-multibox {text-overflow:clip;} /* 复选框列样式 */