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 6:49AM
    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.