目录

二值选择

概述

 

属性说明

开关特效的JSON格式为:

"type":"twoCheck","val":[{"disp":"","real":""},{"disp":"","real":""}]

报表制作

选择二值选择样式,在属性中输入:[{"disp":"","real":""},{"disp":"","real":""}]。

移动服务器端:根据样式的类型,和单元格的真实值、显示值,生成对应格式的JSON串。disp取单元格显示值,real取单元格真实值。如:[{"disp":"男","real":"0"},{"disp":"女","real":"1"}]

效果截图