top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

what is Datatables in Jquery?

0 votes

What is datatables?

DataTables is a plug-in for the jQuery Javascript library. It is a highly flexible tool, based upon the foundations of progressive enhancement, and will add advanced interaction controls to any HTML table.

DataTables is a powerful jQuery plugin for creating table listings and adding interactions to them. It provides searching, sorting and pagination without any configuration.

DataTables can work with data from a verity of sources. It can directly work on an HTML table or we can specify data as an array while initialization. Or it can work on data coming from an Ajax source.

Download the library from the official site -

Simple Example

  <link rel="stylesheet" type="text/css" href="">
  <table id="example">
  <script type="text/javascript" charset="utf8" src=""></script>
  <script type="text/javascript" charset="utf8" src=""></script>

From the above code $("#example").dataTable() will instantiate the DataTable on the table with the id example.

Output for the above code


Video for about Datatable Jquery

posted Feb 13, 2015 by anonymous

  Promote This Article
Facebook Share Button Twitter Share Button LinkedIn Share Button