GeezerVison is showing github.com — bootstrap-table/docs/extensions.md at develop · jb091/bootstrap-table
91 lines (87 loc) · 2.51 KB
File metadata and controls
91 lines (87 loc) · 2.51 KB
Copy raw file
Download raw file
Edit and raw actions
| layout |
default |
| title |
pages.extensions.title |
| slug |
extensions |
| lead |
pages.extensions.lead |
<style>
.name {
font-weight: bold;
font-size: 200%;
margin-top: -20px;
}
.card-view {
margin: 15px 0;
}
</style>
|
Version |
Plugins |
Description |
|
|
Version |
Plugins |
Description |
|
<script>
function nameFormatter(v, row) {
return [
''
].join('');
}
function pluginsFormatter(plugins) {
var html = [];
$.each(plugins, function (i, plugin) {
html.push('' + plugin.name + '');
});
return html.join(', ');
}
function buttonFormatter(value, row) {
return [
'Home ',
'Example'
].join('');
}
function responseHandler0(res) {
return responseHandler(res, 0);
}
function responseHandler1(res) {
return responseHandler(res, 1);
}
function responseHandler(res, n) {
return $.grep(res, function (item, i) {
return i % 2 === n;
});
}
</script>