When bootstrap-table makes a table, only the first few columns of data appear.

clipboard.png
$("- sharptable2"). BootstrapTable ({

)
data: [{
    "name": "ce",
    "1": "10",
    "2": "29%",
    "3": "10",
    "4": "29%",
    "5": "2222",
    "6": "aa",
    "7": "ww",
    "8": "aa",
    "9": "222",
    "total":"1111"
}, {
    "name": "ce",
    "1": "10",
    "2": "29%",
    "3": "10",
    "4": "29%",
    "5": "2222",
    "6": "aa",
    "7": "ww",
    "8": "aa",
    "9": "222",
    "total":"1111"
}],
columns: [
    [{
        "title": "",
        "halign": "center",
        "align": "center",
        "colspan": 5
    }],
    [{
            field: "name",
            title: "",
            valign: "center",
            align: "center",
            colspan: 1,
            rowspan: 2
        },
        {
            title: "",
            valign: "middle",
            align: "center",
            colspan: 2,
            rowspan: 1
        },
        {
            title: "",
            valign: "middle",
            align: "center",
            colspan: 2,
            rowspan: 1
        },
        {
            title: "",
            valign: "middle",
            align: "center",
            colspan: 2,
            rowspan: 1
        },
        {
            title: "",
            valign: "middle",
            align: "center",
            colspan: 2,
            rowspan: 1
        },
        {
            title: "",
            valign: "middle",
            align: "center",
            colspan: 2,
            rowspan: 1
        },
        {
            field: "total",
            title: "",
            valign: "middle",
            align: "center",
            colspan: 1,
            rowspan: 2
        }
    ],
    [{
            field: "1",
            title: "",
            valign: "middle",
            align: "center"
        },
        {
            field: "2",
            title: "",
            valign: "middle",
            align: "center"
        },
        {
            field: "3",
            title: "",
            valign: "middle",
            align: "center"
        },
        {
            field: "4",
            title: "",
            valign: "middle",
            align: "center"
        },
        {
            field: "5",
            title: "",
            valign: "middle",
            align: "center"
        },
        {
            field: "6",
            title: "",
            valign: "middle",
            align: "center"
        },
        {
            field: "7",
            title: "",
            valign: "middle",
            align: "center"
        },
        {
            field: "8",
            title: "",
            valign: "middle",
            align: "center"
        },
        {
            field: "9",
            title: "",
            valign: "middle",
            align: "center"
        },
        {
            field: "10",
            title: "",
            valign: "middle",
            align: "center"
        }
    ]
]

})

Jun.19,2021

your data data is problematic, please check it.


Please change colspan in "title": "past History" in to 12

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1be1032-30d99.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1be1032-30d99.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?