Hi!
How i can catch columnWidth in runtime?
Table. Catch columnWidth in runtime.
- mkoller
- Posts:741
- Joined: Fri Sep 17, 2010 9:03 am
Re: Table. Catch columnWidth in runtime.
columnWidth or namedColumnWidth
- m.sabitov
- Posts:23
- Joined: Fri Feb 21, 2014 7:20 am
Re: Table. Catch columnWidth in runtime.
Sorry, its was bad question.
How i can catch columnWith, when i am changed column with using mouse
How i can catch columnWith, when i am changed column with using mouse
- mkoller
- Posts:741
- Joined: Fri Sep 17, 2010 9:03 am
Re: Table. Catch columnWidth in runtime.
You can't. What is the use case ?
- m.sabitov
- Posts:23
- Joined: Fri Feb 21, 2014 7:20 am
Re: Table. Catch columnWidth in runtime.
I need create buttons for opening filtering menu (like as in MS EXCEL filter). I can create button over table header in right position, but i cant change button positions if i'm changing column width
- mkoller
- Posts:741
- Joined: Fri Sep 17, 2010 9:03 am
Re: Table. Catch columnWidth in runtime.
You can try to use a Button or ComboBox widget inside a cell. See cellWidgetRC
- m.sabitov
- Posts:23
- Joined: Fri Feb 21, 2014 7:20 am
Re: Table. Catch columnWidth in runtime.
Maybe, but its dont work in header/
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: Table. Catch columnWidth in runtime.
Hello,
if you want to create an own "header" you could set the header invisible.
The own header is then defined with objects above the table.
Best Regards
Leopold Knipp
Senior Support Specialist
if you want to create an own "header" you could set the header invisible.
The own header is then defined with objects above the table.
Best Regards
Leopold Knipp
Senior Support Specialist
- m.sabitov
- Posts:23
- Joined: Fri Feb 21, 2014 7:20 am
Re: Table. Catch columnWidth in runtime.
Hello
But if change column with, objects above must change positions relatively new column widht. I cant do this.
But if change column with, objects above must change positions relatively new column widht. I cant do this.
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: Table. Catch columnWidth in runtime.
Hello,
as Martin Koller has written you can add a widget to a cell.
If you add widgets in the first line you can remove the header and use the first line as header.
Then you do not have to resize the widgets on your own as they are part of the table.
Best Regards
Leopold Knipp
Senior Support Specialist
as Martin Koller has written you can add a widget to a cell.
If you add widgets in the first line you can remove the header and use the first line as header.
Then you do not have to resize the widgets on your own as they are part of the table.
Best Regards
Leopold Knipp
Senior Support Specialist