Download the PHP package raliable/ci4-datatables without Composer
On this page you can find all versions of the php package raliable/ci4-datatables. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download raliable/ci4-datatables
More information about raliable/ci4-datatables
Files in raliable/ci4-datatables
Download raliable/ci4-datatables
More information about raliable/ci4-datatables
Files in raliable/ci4-datatables
Vendor raliable
Package ci4-datatables
Short Description A DataTables library for CodeIgniter 4
License MIT
Package ci4-datatables
Short Description A DataTables library for CodeIgniter 4
License MIT
Please rate this library. Is it a good library?
Informations about the package ci4-datatables
CodeIgniter 4 DataTables Library
This library provides a simple and efficient way to implement server-side processing for DataTables in CodeIgniter 4 applications.
Installation
You can install this library via Composer. Run the following command in your project directory:
Usage
1. Load the Library
In your controller, load the DataTables library and configure it as needed:
2. Configure Your View
Create a view file (e.g., datatable_view.php
) to display the DataTable:
Methods
select(string $columns)
: Select the columns to be returned.join(string $table, string $fk, string $type = null)
: Join another table.where(string $keyCondition, $val = null)
: Add awhere
clause.orWhere(string $keyCondition, $val = null)
: Add anorWhere
clause.whereIn(string $keyCondition, array $val = [])
: Add awhereIn
clause.orderBy($column, string $order = 'ASC')
: Add anorderBy
clause.groupBy(string $groupBy)
: Add agroupBy
clause.generate(bool $raw = false)
: Generate the DataTables response. Ifraw
istrue
, returns an array, otherwise returns a JSON response.
All versions of ci4-datatables with dependencies
PHP Build Version
Package Version
The package raliable/ci4-datatables contains the following files
Loading the files please wait ....