bootstrapTable editable select empty

简介:

{
    field: "type",
    title: "type",
    align: "center",
    valign: "middle",
    sortable: "true",
    editable: {
        type: 'select',
        source: [{ value: "A", text: "A" }, { value: "CNAME", text: "CNAME" }, { value: "MX", text: "MX" }]
    },
},


由于水平有限,目前只能找到将 value 和 text改成同一个值,避免出现empty的情况



 本文转自 ninnycalf 51CTO博客,原文链接:http://blog.51cto.com/314258/1978633

相关文章
jq获取select控件的selected属性值
jq获取select控件的selected属性值
|
8月前
|
API
DataTables中的column().visible()
在数据表中显示和隐藏列非常方便,尤其是在显示信息密度较大的表时。此方法允许即时更改单个列的可见性,或读取列的可见性状态。
83 0
|
容器
Fragment的replace、add、hide、show的使用和详解
Fragment的replace、add、hide、show的使用和详解
SAP WM Movement Type 里的‘Ref.Stor.Type Search’字段用法初探
SAP WM Movement Type 里的‘Ref.Stor.Type Search’字段用法初探
SAP WM Movement Type 里的‘Ref.Stor.Type Search’字段用法初探
when click one item in table Select at least one column to perform the search
when click one item in table Select at least one column to perform the search
when click one item in table Select at least one column to perform the search
how is opportunity detail page display first item by default
how is opportunity detail page display first item by default
72 0
how is opportunity detail page display first item by default
|
XML Java 数据库连接
Open quote is expected for attribute "{1}" associated with an element type "id".
Open quote is expected for attribute "{1}" associated with an element type "id".
152 0
Open quote is expected for attribute "{1}" associated with an element type "id".
OPA 13 - ok(oButton,find the Create button);
Created by Wang, Jerry, last modified on Nov 08, 2015
126 0
OPA 13 - ok(oButton,find the Create button);
why is list delete and edit icon rendered
Created by Wang, Jerry, last modified on Feb 17, 2015
88 0
why is list delete and edit icon rendered
OPA 15 - find existing item by its type.note
Created by Wang, Jerry, last modified on Nov 08, 2015
124 0
OPA 15 - find existing item by its type.note