bootstrap table给行怎么加背景色


本文摘自PHP中文网,作者藏色散人,侵删。

bootstrap table给行怎么加背景色

bootstrap table定义代码:

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

$table.bootstrapTable({

    showExport: true,

    height: 540,

    rowStyle:rowStyle,//通过自定义函数设置行样式

    columns: [

        {

            field: 'id',

            title: '序号',

            align: 'center',

            sortable: true

        }, {

            field: 'sid',

            title: '学号',

            align: 'center'

        },

    ]

});

bootstrapTable设置行样式(背景颜色)函数1:通过调用bootstrap默认的样式来设置指定行的背景颜色

阅读剩余部分

相关阅读 >>

bootstrap table使用方法汇总

bootstrap怎么添加背景图片

bootstrap框架是什么意思

bootstrap有哪些组件

extjs 和 bootstrap是什么

bootstrap怎么实现响应式

less百行代码实现bootstrap栅格布局

bootstrap cdn是什么

bootstrap框架怎么自适应手机

详解bootstrap中的标签、徽章、巨幕和页头

更多相关阅读请进入《bootstrap》频道 >>




打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...