Right click event on column header of Table

Discussion about recent product features & solutions!
6 posts • Page 1 of 1
rajkumar.krishnan
Posts:20
Joined: Fri Mar 07, 2014 2:46 pm

Right click event on column header of Table

Post by rajkumar.krishnan »

Hello,

I would like to handle right click mouse event on the column header of table. Is there any solution to this problem.. Right now "HeaderClicked" event is given but it is for left mouse cllick i need the same for right mouse click.

Thanks in advance.

Regards,
Raj

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: Right click event on column header of Table

Post by leoknipp »

Hello,

an own event fpr a right click on the header is not available.
You can only react on a right click for the whole table, where the column and line is passed as parameters for this event.

Best Regards
Leopold Knipp
Senior Support Specialist

rajkumar.krishnan
Posts:20
Joined: Fri Mar 07, 2014 2:46 pm

Re: Right click event on column header of Table

Post by rajkumar.krishnan »

Dear Leopold,

I agree there is a rightclicked event for the whole table but the event is fired only when the table content is clicked not for the column header. Is there any properties i need to set to get the right clicked event for column header or do i need to write any control function to achieve it.

Regards,
Raj

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: Right click event on column header of Table

Post by leoknipp »

Helllo,

there is no possibility to react on a right click in the header area as this event is not implemented for the table.

Best Regards
Leopold Knipp
Senior Support Specialist

rajkumar.krishnan
Posts:20
Joined: Fri Mar 07, 2014 2:46 pm

Re: Right click event on column header of Table

Post by rajkumar.krishnan »

Thank you very much..

Regards,
Raj

fmulder
Posts:330
Joined: Wed Feb 03, 2010 9:46 am

Re: Right click event on column header of Table

Post by fmulder »

If you do not want to resize the columns, then you may be able to work out a fix. Pleae note that you can not use a low level rectangle to cover the hader of a high level widget (like the table). You could however put a transparant button on top and use the right- and left click of the button to do what you'd like to achieve.

Maybe this helps you !

Good luck

p.s.
On the userdays it was said that 3.13 will get a new table widget. I'm not sure wether right-click is planned. You may want to send your feature request to the ETm Support so that they may consider it and add it to their list

6 posts • Page 1 of 1