beginner1 Posted December 1, 2017 Share Posted December 1, 2017 Hi everyone, I have created a helperList and defined the rowActions view, edit and delete. I have noticed that on clicking the row not the buttons, the action of the first rowAction i.e. 'view' in this case is performed. How can I disable it such that only the button click performs the action while clicking anywhere else on the table i.e. on the rows does nothing. Link to comment Share on other sites More sharing options...
ninaKrea Posted February 16, 2018 Share Posted February 16, 2018 (edited) I searched for a while for this issue. If you want to remove the click you have to define it in your field list for each column with remove_onclick = true $this->fields_list = array( 'id_category' => array( 'title' => $this->l('Id'), 'width' => 140, 'type' => 'text', ), 'name' => array( 'title' => $this->l('Name'), 'width' => 140, 'type' => 'text', 'remove_onclick' => true ), ); Edited February 16, 2018 by ninaKrea (see edit history) 1 Link to comment Share on other sites More sharing options...
Spiriit Agency Posted January 16 Share Posted January 16 Hi, If you are in admin controller, you can use this too $this->list_no_link = true; $this = HelperList object This line will affect whole row Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now