1
这是我的struts2格列获得选择的值
<sjg:gridColumn name="interview_notif" index="interview_notif" title="Interview Notification" editable="true" sortable="false" formatter="IntrvNot"/>
这是我用过
function IntrvNot(value, options, rowObject){
var radioHtml = '<select><option value="1">Yes</option><option value="2">No</option></select>';
return radioHtml;
的foramatter格式创建了两个选择选项,但它不会选择数组中的那个。
当网格填充时,如何将所选值设置为数据库(数组)中的值,请帮助m卡住。感谢提前:)
你想什么被选中? –
下拉列表中的值将被选中作为arraylist中的值 – Pradnya