Hi,
I guess I found a bug. Scenario: There is a form in a locked table view that has a few fields with corresponding labels (with labelFor property filled in accordingly).
The form has no header. Problem: In smart client the right click on the labels does not work, though onDoubleClick and onAction work well.
It works on fields but not on labels. We need it to work on labels, too.
Ideally, it would work on a table header even without having to have separate label elements linked to the fields.
maria:
Hi,
I guess I found a bug. Scenario: There is a form in a locked table view that has a few fields with corresponding labels (with labelFor property filled in accordingly).
The form has no header. Problem: In smart client the right click on the labels does not work, though onDoubleClick and onAction work well.
It works on fields but not on labels. We need it to work on labels, too.
Ideally, it would work on a table header even without having to have separate label elements linked to the fields.
Please, comment on this, it’s important for us.
Is this about the labelfor header in tableview ? Indeed the rightclick does not work for it (it wasn’t implemented). Or is it about other situation ?
lvostinar:
Is this about the labelfor header in tableview ? Indeed the rightclick does not work for it (it wasn’t implemented). Or is it about other situation ?
It’s kind of in the header, there is no header on the form but as far as I understand the header is generated automatically by Servoy.
Why do onDoubleClick and onAction work on the same label then?
Consistent would be if onRightClick worked on it, too, wouldn’t it.
lvostinar:
Is this about the labelfor header in tableview ? Indeed the rightclick does not work for it (it wasn’t implemented). Or is it about other situation ?
It’s kind of in the header, there is no header on the form but as far as I understand the header is generated automatically by Servoy.
Why do onDoubleClick and onAction work on the same label then?
Consistent would be if onRightClick worked on it, too, wouldn’t it.
Cheers,
Maria
What do you mean? If it is the header onAction sorts and onDoubleClick wouldn’t make too much sense, I think. Also, I don’t think these actions work on labelfor headers. Maybe attach a picture ?
lvostinar:
What do you mean? If it is the header onAction sorts and onDoubleClick wouldn’t make too much sense, I think. Also, I don’t think these actions work on labelfor headers. Maybe attach a picture ?
What I mean is that onAction works on a label which has the labelFor property in tableview.
I thought that onDoubleClick works as well but it was just onAction executed twice (I see why onDoubleClick does not make much sense there).
onRightClick doesn’t work either.
If onAction on a label like this should sort the column then I would like to use onRightClick to pop up a menu on a label.
I can’t do it now and I’m not sure if I’m supposed to be able to do that because one event works on labels while others don’t.
That’s it.
please make a case so that we also support right click on a labelFor label in tableview
Also mention there that we need to set the x,y positions else you wont be able to show a popup on that location.