jQuery MiniUI

标题: datagrid 设置 列的editor时,样式无效 [打印本页]

作者: fgq841103    时间: 2018-6-25 20:33:48     标题: datagrid 设置 列的editor时,样式无效

   grid.set({

   columns:[{"align":"left!important","allowSort":false,"autoShowPopup":true,"editor":{"style":"width:500px;height:500px;","type":"textarea"}

其中的"editor":{"style":"width:500px;height:500px;","type":"textarea"}   设置样式但是无效。

作者: dforce    时间: 2018-6-26 08:48:34

minWidth="200" minHeight="50"
请设置这2个属性来控制表格内textarea的尺寸
作者: fgq841103    时间: 2018-6-26 09:41:02

dforce 发表于 2018-6-26 08:48
minWidth="200" minHeight="50"
请设置这2个属性来控制表格内textarea的尺寸

"editor":{"style":"width:500px;height:500px;","type":"textarea" ,"minWidth":"200", "minHeight":"50"}

这样?
作者: dforce    时间: 2018-6-26 12:27:34

fgq841103 发表于 2018-6-26 09:41
"editor":{"style":"width:500px;height:500px;","type":"textarea" ,"minWidth":"200", "minHeight":"50 ...

editor: { "type":"textarea" ,"minWidth":200, "minHeight":50}
作者: fgq841103    时间: 2018-6-26 15:08:07

dforce 发表于 2018-6-26 12:27
editor: { "type":"textarea" ,"minWidth":200, "minHeight":50}

可以了。多谢。




欢迎光临 jQuery MiniUI (http://miniui.com/discuss/) Powered by Discuz! X2