YUI内联编辑下拉框

时间:2015-05-07 11:59:38

标签: jquery yui inline-editing

我在YUI 2的DataTable中使用内联编辑。我想在此使用下拉框。是否有人知道下拉框的代码?

我的下拉框将是:

<select name ='test' class='selectpicker'><option value='1' >Yes</option><option

我尝试了下面的代码但没有得到传递的内容

{key:"test", label:"test",editor: new YAHOO.widget.DropdownCellEditor({dropdownOptions:YAHOO.example.Data.test,disableBtns:true}), sortable:true},

1 个答案:

答案 0 :(得分:-1)

请参阅:http://www.satyam.com.ar/yui/2.6.0/assortedControls.html

它们尚未更新到更高版本,但2.6之后的兼容性没有中断,因此它们应该可以工作。该页面顶部的链接指向其他几个可能有帮助的示例。