Hi
Can i get the width of certain column of an ultrapivot grid? Or the width of a certain cell?
Are those widths resizeable?
Thanks!
First of all, thanks for the reply.I´m afraid that we aren´t doing a very orthodox use of the component.We want to put some labels above the first fixed row "IT11, IT12, IT21, IT22". The position of the labels is based on the position marked in red in the picture.To get what we want we need that point. Or, at least, the width of the left fixed columns. In this case, the ones with the text "ARCAS" and "KWFH/TVFa". If something changes, just accessing to these widths will solve again the initial position of the red point.Hope I have explained it better ;)Thanks!
Hi Zigor,
Sorry this case fell off our radar because it was closed a couple weeks ago.
I'd be happy to help you try to achieve what you want here. But I need more information in order to understand what that is. The point you show in your screen shot it kind've arbitrary. So I need more details about the criteria you are trying to use and what you are trying to do. Are you trying to trap for a click or a MouseOver in order to imlpement some user-interaction with the PivotGrid? Or are you trying to draw something there?
What if the user changes things around and uses other fields? How will you know what the correct point is?
You can get the UIElement of the PivotGrid outside of a CreationFilter. The control itself exposes a UIElement property which returns the main UIElement and you could walk down the tree using the ChildElements property of that. Or you can use ElementFromPoint to get the element at a particular point relative to the control.
Nothing?
Hi again
I´ve been trying to achieve it through a creation filter. The problem is that the point I´m looking for, changes whenever the data is reloaded. And the creation filter only enters at the very first moment. Maybe I am not doing it correctly.
I´ve been looking for an AfterDraw cell method but it seems there isn´t.
Any suggestions?Thanks.
The cells and rows do not expose a height and width property. However we expose more functionality in our wpf counter part.
https://es.infragistics.com/help/wpf/xampivotgrid-customizing-cells-with-templates