Posts

Showing posts from October, 2022

Apply Pagination To The Existing Table Using Datatable

  Complete Example < html lang = "en" > < head >     < meta charset = "UTF-8" >     < meta http-equiv = "X-UA-Compatible" content = "IE=edge" >     < meta name = "viewport" content = "width=device-width, initial-scale=1.0" >     < title > Apply Pagination To The Existing Table Using Datatable </ title >     < link rel = "stylesheet" href = "https://cdn.datatables.net/1.12.1/css/jquery.dataTables.min.css" > </ head > < body >     < h1 > Apply Pagination To The Existing Table Using Datatable </ h1 >     < table id = "usersTable" >         < thead >             < tr >                 < th > # </ th >                 < th > Name </ th >         ...

Populate Data from Ajax Using Datatable

  Complete Example < html lang = "en" > < head >     < meta charset = "UTF-8" >     < meta http-equiv = "X-UA-Compatible" content = "IE=edge" >     < meta name = "viewport" content = "width=device-width, initial-scale=1.0" >     < title > Populate Data from Ajax Using Datatable </ title >     < link rel = "stylesheet" href = "https://cdn.datatables.net/1.12.1/css/jquery.dataTables.min.css" > </ head > < body >     < h1 > Populate Data from Ajax Using Datatable </ h1 >     < table id = "usersTable" >         < thead >             < tr >                 < th > # </ th >                 < th > Title </ th >             </ tr > ...