|
|
|
|
Re: Using a SelectionLayer and buttons together in a table [message #1740903 is a reply to message #1740890] |
Fri, 19 August 2016 16:13 |
Lothar L. Messages: 27 Registered: July 2016 |
Junior Member |
|
|
Yes, for us, it is working but for the detail that the row does not get selected when one presses the button. If users click on another cell the row does get selected though. We changed the selection bindings because we want the 1st behaviour, i.e. the row should also be selected when the button is pressed.
Mh..what we are actually trying to achieve is to add buttons with two sections (or two buttons/rectangles if you will) to single cells. Buttons are to look like this [This is a button|...]. Users can execute a primary action with a click on the label "This is a button" or get to menu if pressing the "..." part with more options. The buttons are to be styled and do not use the whole cell. It would looks like this:
[text] [text] [This is a button|...]
[text] [text] [This is a button|...]
[text] [text] [ ]
[text] [text] [This is a button|...]
...
The content of the button actually depends on the information in row.
Because we are not dealing with a single button that spans the whole cell we need to check in which rectangle users clicked. But with the means we found this only works for the last button because the table uses only one painter instance.
[Updated on: Fri, 19 August 2016 16:37] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03949 seconds