I want to increase the width of the initial RowsFieldDropAreaControl. Its pretty much still there in the PivotGridPanel as part of the original template. I added a ComboBox before the ColumnsFieldDropAreaControl and made that area bigger , and I want the RowsFieldDropAreaControl which is part of the PivotGridPanel to match that size. If I change the size of RowsFieldDropAreaControl say to width=300px or maxWidth=300 it doesn't work, it seems to be resetting this somehow.
Can you please provide a sample of the above. I have tried several different way to change this and it hasn't worked yet. Thanks for your help in advance.
Attached is snippet of where RowsFieldDropAreaControl is.
<pss:PivotGridPanel x:Name="MainLayout" SharedSizeColumn="{Binding ElementName=LeftColumn}"> <!--<StackPanel Orientation="Horizontal">--> <pss:PivotDataRowsPanel x:Name="DataRowsPanel" ZIndex="-2"> <ig:DragDropManager.DropTarget> <ig:DropTarget DropTargetMarkerBrush="#FF6E7E8D" DropChannels="Measures" /> </ig:DragDropManager.DropTarget> </pss:PivotDataRowsPanel> <pss:PivotRowsPanel x:Name="RowsHeaderPanel" ZIndex="-1" VerticalAlignment="Top"> <ig:DragDropManager.DropTarget> <ig:DropTarget DropTargetMarkerBrush="#FF6E7E8D" DropChannels="Rows" /> </ig:DragDropManager.DropTarget> </pss:PivotRowsPanel> <pss:PivotColumnsPanel VerticalAlignment="Bottom" x:Name="ColumnsHeaderPanel" ZIndex="-1"> <ig:DragDropManager.DropTarget> <ig:DropTarget DropTargetMarkerBrush="#FF6E7E8D" DropChannels="Columns2222" /> </ig:DragDropManager.DropTarget> </pss:PivotColumnsPanel> <pss:PivotRowDataAreaPanel x:Name="PivotRowsDataArea" ZIndex="-1" /> <Grid pss:PivotGridPanel.IsTopLeftCornerControl="True"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> <ColumnDefinition /> </Grid.ColumnDefinitions> <ssp:RowsFieldDropAreaControl Panel.ZIndex="100" MinWidth="350px" Width="350px" x:Name="RowsDropArea" Grid.Column="1" AllowResizing="Right" ItemTemplate="{StaticResource FieldItemTemplateKey}" ItemsSource="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=DataSource.Rows, Mode=TwoWay}" IsEnabled="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=DataSource.Rows.IsEditable}" /> </Grid> <!--</StackPanel>--> <pss:HiddenAxisChooser x:Name="ColumnChooser" ItemTemplate="{StaticResource AxisChooserTemplateKey}" /> <pss:HiddenAxisChooser x:Name="RowChooser" ItemTemplate="{StaticResource AxisChooserTemplateKey}" /> </pss:PivotGridPanel>
I was able to fix this adding MinEmptyRowsHeaderWidth on PivotGrid, MinWidth on PivotRowsPanel. Thanks for the help though.
In WPF. Thanks for your help again.
Hello Anand,
Thank you for your post.
I see that you have brought up this issue on both our WPF and Silverlight threads, with your other post being here: http://es.infragistics.com/community/forums/t/95169.aspx. Did you want this done for both platforms, or just WPF? The only reason I ask is that the methods for achieving this will be different if you would like to do this in Silverlight as well. Could you please provide the platform(s) you would like to achieve this on?
Sincerely,AndrewAssociate DeveloperInfragistics Inc.www.infragistics.com/support