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怎么让图片自适应屏幕

bootstrap怎么适配手机屏幕

bootstrap cdn是什么

如何利用bootstrap分页

bootstrap字体颜色怎么改

bootstrap怎么删除图标

bootstrap什么时候出来的

thinkphp和bootstrap区别

bootstrap如何读

bootstrap 如何创建错误提示

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




打赏

取消

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

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

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

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

评论

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