Hi, I have one question about grocery crud API function "add_action"
My question is, is there any method that can dynamically put "add_action" within the datatables?
I mean I don't want to put the action in every column of the table, but only some of them
For example, I only want to put add_action if the column has odd number of index.
Maybe something like:
if($crud->column('id') % 2 == 0){ $crud->add_action('More', '', '','ui-icon-plus', array($this, 'some_function')); }
Is there any method that can implement this one?
Thank you very much!