Jump to content

Assign a function to delete helperlist


Recommended Posts

Hello, i'm trying to make a helperlist for my back office using :

$helper->actions = array('edit', 'delete')

to make a edit/delete button on my row, but i'm very lost as there is no documentation about it except this one :

Adding an "Actions" column The above example directly builds a table with an action column,
which comprises three actions: edit, delete, view. $helper->actions = array('edit', 'delete', 'view');
Note that they will not work out of the box: while the action icons are there and can be clicked, nothing 
will happen when the user clicks until you have assigned proper code to these actions.

nothing will happen when the user clicks until you have assigned proper code to these actions.

but how can i assign code to these actions ?

thanks you :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More