0

How to Move Grid Detail Widget From Left to Right Side of Row?

asked 2021-03-16 07:32:34 +0800

MikeAllan04 gravatar image MikeAllan04
1

The widget that opens the detail display of a grid row is displayed as an arrow on the left side of the row.

Is there an easy way to display the widget that controls the dropdown to be displayed on the right side of the row instead of the left?

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-03-17 10:41:52 +0800

cor3000 gravatar image cor3000
5833 2 7
ZK Team

You can't configure the default master detail toggle. Still you can hide the first column and add a another column at the right containing a clickable component to call detail.setOpen() as needed.

Here a basic example using inline zscript only for demonstration purposes, you can implement this in a normal event listener in your controller.

https://zkfiddle.org/sample/20vfquc/1-custom-master-detail-toggle

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2021-03-16 07:32:34 +0800

Seen: 5 times

Last updated: Mar 17

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More