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

相关文章
|
7月前
|
Oracle Java 关系型数据库
TYPE_SCROLL_SENSITIVE to TYPE_SCROLL_INSENSITIVE
TYPE_SCROLL_SENSITIVE to TYPE_SCROLL_INSENSITIVE
49 1
|
API
DataTables中的column().visible()
在数据表中显示和隐藏列非常方便,尤其是在显示信息密度较大的表时。此方法允许即时更改单个列的可见性,或读取列的可见性状态。
173 0
|
SQL Java 数据库连接
mybatis 批量插入 Column count doesn‘t match value count at row 1
mybatis 批量插入 Column count doesn‘t match value count at row 1
187 0
|
容器
Fragment的replace、add、hide、show的使用和详解
Fragment的replace、add、hide、show的使用和详解
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
117 0
when click one item in table Select at least one column to perform the search
$('.tab-list-1-2-10').find('.tab').eq(count).trigger('click')
$(function () { var count = 0; setInterval(function(){ count++; if(count==4){ count = 0 } $('.
1051 0