In some situation, we cannot use views to generate table output as per the business
requirements.

In this situation, we need to write custom module to display the table records.

Ajax Datatables is a javascript API to render the datatables by passing the customized
array data generated by any other custom module.

This module always useful for developers, who will create a customized array data to
display the datatables.