Default Ordering
class="table table-striped table-bordered nowrap dataTable" role="grid"
aria-describedby="order-table_info">
rowspan="1" colspan="1"
aria-label="Name: activate to sort column ascending"
style="width: 161px;">Name
rowspan="1" colspan="1"
aria-label="Position: activate to sort column ascending"
style="width: 243px;">Position
rowspan="1" colspan="1"
aria-label="Office: activate to sort column ascending"
style="width: 117px;">Office
aria-controls="order-table" rowspan="1" colspan="1"
aria-sort="descending"
aria-label="Age: activate to sort column ascending"
style="width: 64px;">Age
rowspan="1" colspan="1"
aria-label="Start date: activate to sort column ascending"
style="width: 121px;">Start date
rowspan="1" colspan="1"
aria-label="Salary: activate to sort column ascending"
style="width: 84px;">Salary
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000Michael SilvaMarketing DesignerLondon662012/11/27$198,500Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000Garrett WintersAccountantTokyo632011/07/25$170,750Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500Gloria LittleSystems AdministratorNew York592009/04/10$237,500Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500$(document).ready(function () {
$('#order-table').DataTable(
{
"language": {
"url": "assets/plugins/datatable/zh-cn.json"
},
dom: ">>>>>",
buttons: ['copy', 'excel', 'print']
}
);
});