There are elements in the table peer invocation, how to ensure that the elements can be used in different rows of the other boxes, the following methods:
Examples of page elements are as follows:
<div id= "Mytableid" class= "Content-main-container" >
<div class= "Panel panel-primary gd-panel" Id= " Mywindow ">
<div class=" panel-heading ">
<b>TableNameElemnt</b>
</div>
<div class= "Panel-body" >
<table class= "Table table-bordered" id= "csmemberpackagetable" style= " Word-break:keep-all; " >
</table>
</div>
</div>
The page JS code example is as follows:
$ (function () {$ (' #MyTableId '). Bootstraptable (' destroy ');
$ ("#MyTableId"). Bootstraptable ({url: '/***/*** action_*** list.action ', DataType: "JSON", Showrefresh:true, Striped:true, Cache:true, Undefinedtext: "-", Sortname: "id", SortOrder: "ASC", Pagination:true , sidepagination: "Server", toolbar: "#toolbar", Pagenumber:1, Pagesize:3, Smartdisplay:true, page
LIST:[5,10,25,50], Paginationpretext: "Previous page", Paginationnexttext: "Next Page", columns: [{checkbox:true}, {field: ' PId ', title: ' Operations ', align: ' center ', formatter:function (value,row,index) {var aId = R
Ow.aid;
var bId = row.bid;
var cId = row.cid; var a = ' <a href= '/****/**** action_**** gojsp.action?
Resobj. ' + ' pid= ' +pid+ ' &resobj.aid= ' +aid + ' &resobj.bid= ' +bid+ ' &resobj.cid= '
' "' + ' class=" Cs_menutab "> Edit all IDs </a> ';
return A; },{field: "AId", Title: "A label", Align: "center"}, {field: "BId", Title: "B label
", Align:" center "}, {field: ' CId ', title: ' C tag ', align: ' Center '}}); });
The above is a small set to introduce the bootstrap Table to get peer different column elements of the method, I hope to help you, if you have any questions please give me a message, small series will promptly reply to everyone. Here also thank you very much for the cloud Habitat Community website support!