Skip to main content

Posts

Showing posts with the label jquery

Data-tables over traditional HTML tables

This blog post is about using datatables v0.5 ( http://l-lin.github.io/angular-datatables/archives/ ) with Angular 1. We can easily feed data using angular into a datatable from  https://datatables.net/  which is built using jQuery. Why data-tables ? There are many benefits of using data-tables.  One major benefit is if you are not a UI/UX person, and don't want to spend much time styling, you can still give users a good experience by just including a data table. You will not have to put effot into implementing search or sort. It is by default provided.  Pre-requisites In order to use datatables you will need the following dependencies to be added to your project. jQuery datatables.net datatables.net-dt angular-datatables You can use npm, bower or the cdns to include these in your project. When using the bower component for angular-datatables I encountered a problem since the datatables we are using is an old version. To get over th...