<tr> >>> <td style ="width:80%">album 0</td> >>> <td style ="width:10%">song0</td> >>> <td style ="width:10%">genre0</td> >>> </tr>>>
>> <div class="tableSection" ng-show="invoicesToApplyFees"> >> <table id="applyFeesTable" class="table table-bordered table-hover table-list"> >> <thead data-search:table-header data-table="applyFeesTable" data-search="search()"> >> </thead> >> <tbody> >> <tr ng-repeat="result in invoicesToApplyFees" ng-form="applyFeesRow"> >> >> <td> >> <a href="javascript:void(0);"><span ng-click="drillDown(result.invoiceNo)">{{result.invoiceNo}}</span></a> >> </td> >> >> <td> >> {{result.descrip}} >> </td> >> <td> >> {{result.lastTransactionDate |date: 'medium'}} >> </td> >> <td> >> {{result.pass_No}} >> </td> >> <td> >> {{result.swipe_No}} >> </td> >> <td> >> {{result.pass_DCI}} >> </td> >> <td align="right"> >> <span ng-class="{'negative-amount' : result.balance < 0}">{{result.balance | currency}}</span> >> </td> >> <td> >> <div class="input-group"> >> <span class="input-group-addon">@Labels.currencySymbol</span> >> <input type="number" name="payment" ng-model="result.fee" id="payment" >> ng-disabled="!result.payit" >> ng-class="{'negative-amount' : result.fee < 0}" >> min="0" >> class="form-control" >> data-sm:number placeholder=" 000.00" >> data-sm:number-format data-accuracy="2" /> >> </div> >> </td> >> <td> >> <input type="checkbox" ng-model="result.payit" >> ng-change="payChange(result)" /> >> </td> >> </tr> >> </tbody> >> <tfoot> >> <tr> >> <td colspan="6">@String.Format(Labels.totalX, ':')</td> >> <td><span ng-class="{'negative-amount': total('balance') < 0}">{{total('balance')|currency}}</span></td> >> <td><span ng-class="{'negative-amount': total('fee') < 0}"> {{total('fee')|currency}}</span></td> >> <td></td> >> </tr> >> </tfoot> >> </table> >> </div>>>
>>.table-list { >> cursor: pointer; >>} >> >> .table-list > tbody > tr:nth-child(odd) > td { >> background-color: #f1f1f1; >> } >> >> .table-list > tbody > tr:hover > td, .table-hover > thead > tr > th:hover { >> background-color: #e9e9e9; >> } >> >> .table-list > tfoot { >> font-size:large; >> text-align:right; >> >> } >>/*http://jsfiddle.net/venkateshwar/5KJka/1/ >> >>*/ >> >> /*.tableSection table { >> display: table; >> width: 100%; >> } >> .tableSection thead, tbody { >> float: left; >> width: 100%; >> } >> .tableSection tbody { >> overflow: auto; >> height: 150px; >> } >> .tableSection tr { >> width: 100%; >> display: table; >> text-align: left; >> } >> .tableSection th, td { >> width: 33%; >> }*/ >>>>
<table class="tableSection"> > <thead> > <tr> > <th style="width:60%"><span class="text">album</span> > </th> > <th style="width:10%"><span class="text">song</span> > </th > > <th style="width:30%"><span class="text">genre</span> > </th> > </tr> > </thead> > <tbody> > <tr> > <td style="width:60%">album 0</td> > <td style="width:10%">song0</td> > <td style="width:30%">genre0</td> > </tr> > <!-- Repeat as required --> > </tbody> > <tfoot> > <td style="width:60%">Footer One</td> > <td style="width:10%">Footer Two</td> > <td style="width:30%">Footer Three</td> > </tfoot> ></table>;-))))))))