Home > Web Front-end > JS Tutorial > body text

bootStrap button formatting operation

PHPz
Release: 2018-10-15 15:40:28
Original
1843 people have browsed it

1 Html


    操作
Copy after login

2 Js

2.1 Formatting

//格式化操作按钮
function actionFormatter(value, row, index) {
    return getOperation(row['id'],row['pic'],row['name']);
}
Copy after login

2.2 Specific formatting

function getOperation(id,pic,value){
    return operation=''+
        '

'+ ''+ '

'+ '

'+ '

'; }
Copy after login

3 renderings

[Related video recommendation: Bootstrap Tutorial]

The above is the detailed content of bootStrap button formatting operation. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!