How to add individual column filtering in DataTable

category:  Web development

Recently I wrote several posts related to DataTable plugin. The latest one was “How to filter data in DataTable using Ajax in CodeIgniter“. This filter solution will fit to the big data. When the end user needs to view the data, they just filter only the data they needs to view. In this post, we will fetch all data and render them on the page. We will add the individual column filtering in the DataTable. In this example, we will … Read More

How to filter data in DataTable using Ajax in CodeIgniter

category:  CodeIgniter, Web development

When you create a web application for managing your data such as accounting, stock, and sale orders. You will need the reports which come with the filters that allow you to view only the data you need. This post will show you how to create a filter form and filter the data in Datatable in CodeIgniter. You can apply this method to other PHP frameworks. It will work the same way. If you want to learn how to integrate the … Read More

How to delete data from Datatable plugin using Bootstrap modal in CodeIgniter

category:  CodeIgniter, Web development

Recently, I wrote two posts about adding and editing the data in the Bootstrap modal in CodeIgniter. Today I will share how to delete the data using Bootstrap modal in CodeIgniter. Let’s do it. Add new delete control in DataTable Assume you already integrate the DataTable plugin to your template. If not, you can follow this post for integrating the DataTable plugin to your template in CodeIgniter. Open your footer template and add the JavaScript code below. This script must … Read More

How to edit data from Datatable plugin using Bootstrap modal in CodeIgniter

category:  CodeIgniter, Web development

In the last post, I wrote, “How to add data from Datatable plugin using Bootstrap modal in CodeIgniter” I show only adding new data. In this post, I will share how to edit data via Bootstrap modal. Let’s go. Add a new column for the controller in the view page In the template, we add the new column in the table tag. This table will use for the DataTable plugin. Add the edit control in the footer template Open your … Read More

How to add data from Datatable plugin using Bootstrap modal in CodeIgniter

category:  CodeIgniter, Web development

Datatable plugin is one of the popular JavaScript plugins. It displays the data in the table style. It comes with pagination, instant search, and column sorting out of the box. However, in the user’s view, they want to be able to add, edit, or delete the data from the Datatable without leaving the current page. We can do that by using Ajax and the Bootstrap modal. In this post, I will share with you how to add data from Datatable … Read More

How To Use DataTables In Codeigniter

category:  CodeIgniter, Web development

When you work on a web application or the back-end of your website, you often create reports for the users. The reports will display in the table style. Also, you will have the requirements from the users to add the pagination, search, ability to select the number of records per page, and export data as Excel, CSV, and PDF file. Those features can be done with Datatable plugin. What is Datatable plugin Datatable plugin is an advanced interactive control JavaScript … Read More

Building WordPress Plugins with Object-Oriented Concept

category:  WordPress

When I develop the custom plugin, I prefer to build the custom plugin with Object-Oriented Programming(OOP) to avoid the conflict from other plugins or the themes. Plus my code is cleaner and more organized. Today I will share how to create the report plugin with OOP. Here what the plugin does: The plugin will display the data regarding the criteria. I use the datatable plugin for the data table with search, pagination and column sort features. The datatable plugin has … Read More