表格行编辑text文本类型的,无法使用required渲染

提问 已结 2 4874
悬赏:20飞吻
代码如下:
<tr>
<th data-options="field:'HName',title:'节假日名称',width:100,halign: 'center',editor:{type:'text',options:{required:true}}"></th>
<th data-options="field:'HBeginDate',title:'开始日期',width:100,halign: 'center',editor:{type:'datebox',options:{required:true}}"></th>
<th data-options="field:'HEndDate',title:'截止日期',sortable:true,width:100,halign: 'center',editor:{type:'datebox',options:{required:true}}"></th>
<th data-options="field:'IsState',title:'状态',align:'center',halign:'center',width:100,formatter:HolidayIsState"></th>
<th data-options="field:'operate',title:'操作',formatter:operateFormatter,width:100,align:'center'"></th>
</tr>
效果如下:
回帖
回帖须知