Welcome Guest, Not a member yet? Register   Sign In
How to put Callback for IgnitedDatatables Library?
#1

[eluser]aslamdoctor[/eluser]
I am using IgnitedDatatables library to integrate jquery datatables plugin on my Codeigniter based project.
Library URL : https://github.com/IgnitedDatatables/Ignited-Datatables

This library is pretty good and does the basic job. But I want to put a conditional statements on each table row like e.g. if the table field "status" has value "False" then show the Edit link for editing the record, if the "status" field value of the record is "True", then do not show the Edit link of that record?

I googled a lot for this and found that the Native PHP Library for Datatables gives option to put Callback method for this purpose. But the library for Codeigniter do not offer the callback option.

Any suggestion to achieve this?




Theme © iAndrew 2016 - Forum software by © MyBB