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