Bootstrap Table with Summary and Detail -


i'm trying use bootstrap tables create table shows summary rows, , allows expand summary show details clicking plus sign.

use in table definition , write detail code

<table id="yourtable"    data-detail-view="true   data-detail-formatter="detailformatter">   ...  <script> function detailformatter(index, row) {     var html = [];     $.each(row, function (key, value) {         html.push('<p><b>' + key + ':</b> ' + value + '</p>');     });     return html.join(''); } </script> 

Comments

Popular posts from this blog

1111. appearing after print sequence - php -

node.js - Express and Redis - If session exists for this user, don't allow access -

excel - I can't get the attachement of the email PHP -