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

相关文章
|
9月前
|
API
DataTables中的column().visible()
在数据表中显示和隐藏列非常方便,尤其是在显示信息密度较大的表时。此方法允许即时更改单个列的可见性,或读取列的可见性状态。
92 0
|
容器
Fragment的replace、add、hide、show的使用和详解
Fragment的replace、add、hide、show的使用和详解
报错ContentView_Previews is not a member type of 'TextField'解决
报错ContentView_Previews is not a member type of 'TextField'解决
101 0
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".
156 0
Open quote is expected for attribute "{1}" associated with an element type "id".
why is list delete and edit icon rendered
Created by Wang, Jerry, last modified on Feb 17, 2015
90 0
why is list delete and edit icon rendered
OPA 13 - ok(oButton,find the Create button);
Created by Wang, Jerry, last modified on Nov 08, 2015
128 0
OPA 13 - ok(oButton,find the Create button);