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月前
|
SQL
[Err] 1052 - Column ‘roleId‘ in where clause is ambiguous
这篇文章解释了SQL查询中出现"Column ‘roleId’ in where clause is ambiguous"错误的原因,即在多表查询中,如果没有明确指定表名,相同的列名在where子句中会产生歧义,并提供了修正方法,即明确指定条件中所引用的列属于哪个表。
|
10月前
|
索引 Python
row[i] = col[j] = TrueIndexError: list assignment index out of range
row[i] = col[j] = TrueIndexError: list assignment index out of range
|
10月前
|
iOS开发 MacOS
TypeError: Cannot read property ‘shop‘ of undefined
TypeError: Cannot read property ‘shop‘ of undefined
57 0
|
JavaScript 前端开发
75jqGrid - Basic Pivot Grid
75jqGrid - Basic Pivot Grid
49 0
|
API
DataTables中的column().visible()
在数据表中显示和隐藏列非常方便,尤其是在显示信息密度较大的表时。此方法允许即时更改单个列的可见性,或读取列的可见性状态。
201 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
134 0
when click one item in table Select at least one column to perform the search