DataTables extensions
The jQuery DataTables plugin provides a wide variety of extensions that can enhance the functionality of the plugin dramatically.
Note
To see a list of all available extensions for the DatatTables library, see https://datatables.net/extensions/index
The ColReorder extension
The ColReorder extension allows users to reorder table columns by clicking and dragging the column header to the location they prefer. To enable column reordering for your DataTables HTML table, complete the following steps:
- Open the
_Layout.cshtml
file and add a reference to thedataTables.colReorder.css
file:<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net /colreorder/1.3.1/css/colReorder.bootstrap.min.css" />
- Open the ...
Get Bootstrap for ASP.NET MVC - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.