Ag Grid-如何将标准单元格编辑器的宽度和高度设置为单元格的整个宽度和高度 [英] Ag Grid - How to set the width and height of a standard cell editor to the full width and height of the cell

查看:487
本文介绍了Ag Grid-如何将标准单元格编辑器的宽度和高度设置为单元格的整个宽度和高度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个标准的单元格编辑器,当我处于编辑模式时,单元格编辑器的宽度和高度不是单元格的完整宽度和高度。

I have a standard cell editor and when I am in edit mode the width and the height of the cell editor is not the full width and height of the cell.

我应该覆盖样式还是有其他样式?

Should I overwrite the styles or is there any flag in the configuration to turn off this effect?

推荐答案

我认为实现此目的的更好方法是仅修改内联样式编辑器CSS:

I think a better way to achieve this is to only modify the inline style editor css:

.ag-theme-balham .ag-cell.ag-cell-inline-editing{
 height: 100%;
}

这篇关于Ag Grid-如何将标准单元格编辑器的宽度和高度设置为单元格的整个宽度和高度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆