How to change the order of row cell in Datalist?

Sergej Filippov shared this question 2 years ago
Answered

Hi!


I have created data list with Modify button.


Inside a row that contains Modify button I pasted an Action drop down button and deleted edit.


Screenshot: https://goo.gl/1M0RLH


But when I simulate and press Action button the drop down section is hidden by rows.


Screenshot 1: https://goo.gl/KwIO1P


Screenshot 2: https://goo.gl/ypAXvy


So I need to bring to front the row than contains Action button. But there is no option to do that.

Comments (5)

photo
1

Hi there,


Unfortunately it's not possible to alter the order of row cells after you've created the data list, but you can alter the order in the in the data master, then create another data list.


Best,


Danielle

photo
1

But it is not possible with edit button row cell that is auto-generated.


So is there a way to use drop-down Actions button in data list so it will drop-down and not intersect with rows that are underneath?


Button is similar to this http://devdocs.magento.com/guides/v2....


or


https://www.justinmind.com/usernote/t...


Buttons section - Action button.

photo
1

Hi there,


You can do this by either reducing the size of the action button, or increase the size of the rows so the action button will remain in the row.


Best,


Danielle

photo
1

Hi Danielle!


It doesnt solve the problem because button is a drop-down.


5019b923afe0c9f0c947b9392ff3291e


If I increase the size of the rows it will look very ugly:


Here is sample vp project: https://yadi.sk/d/5YrenDUDsvfXL


Is there any way to solve this issue?

photo
1

Hi there,


The only other way would be to have the dropdown appear outside of the data grid - ie. to the left of the grid so that it wouldn't intersect the other rows.


Best,


Danielle