Note the upgraded forum! If you are experiencing issues logging in, you may need to reset your password which should send an email. If the email doesn't arrive, be sure to check your spam folder just in case.

Adding an action to a Data_table

edited February 2011 in Modules
I'm trying to add an "EDIT" action to a table, generated with the library Data_Table, but I don't understand the example in the user_guide at all...

In this example: "$this->data_table->add_action($field, $action)", what type has $field (int, string, object, array)?

PD: sorry if I'm annoying you with all my asksings

Comments

  • edited 4:44AM
    I answer to my own: You must use "$this->data_table->assign_data($table_data)" after adding the actions, not before...
Sign In or Register to comment.