FR.WLGP
Hierarchy
FR.OBFR.WLGPFiles
填报的逻辑页面
Properties
$container, content actually be added, which is a jQuery Object, the contentPane or the selected tab of the TabPane
$container, content actually be added, which is a jQuery Object, the contentPane or the selected tab of the TabPane
writePane:FR.WritePane this lgp belongs to
writePane:FR.WritePane this lgp belongs to
Methods
把值显示在TD里面
cv 可以是 {text, value},就直接显示text, 也可以是一段字符串,则根据dict的有无来判断是否要用dict处理一下
Parameters
- tdCell : Object
- cv : Object
- presentValue : Object
触发绑定过的事件 * *
Parameters
- eventName : String
要触发的事件的名字 *
Returns
- Boolean
如果事件函数返回false,则返回false并中断其他同名事件的执行,否则执行所有的同名事件并返回true
格式化单元格值
Parameters
- dp : Object
单元格值
- $tdCell : Object
单元格
Returns
- *
格式化结果
获取某个单元格td的jquery对象 e.g. 获取当前sheet的第三行第二列的格子 contentPane.curLGP.getTDCell(1,2)
Parameters
- col : Object
- row : Object
Returns
- *
得到单元格的行号 API的提供的行列都从1开始
Parameters
- td : Object
Returns
- number
直接显示控件的时候可编辑控件和类似按钮控件之类的不可编辑控件通过这个来区分
Parameters
- tdCell : Object
Returns
- boolean
是否是可以编辑的控件
检查当前页面是否是冻结的 e.g. contentPane.curLGP.isFrozen();
Returns
- boolean
dCell是否可被选中包括直接显示控件场景下的可编辑控件
Parameters
- tdCell : Object
调整对应行的行高,为冻结服务
Parameters
- $tr : Object
- oriHeight : Object
移动选中格子的黑框
@exmaple
contentPane.curLGP.moveTDCell(1);//向上移动黑框
Parameters
- direction : Object