Hi
I've set my fields within the field layout including the row and column positions. Some fields are initially not visible (collapsed). When these fields gets visibile through FieldChooser and have eg. Row=1 then they're not positioned in the correct row. This bevaviour is not affecting hidden fields though. However i don't want to show multiple rows initially when the fields are not visible, therefore i prefer collapse. Could you help?
Hi Rajashri,
Sorry it took so long to get back to you on this. I was able to reproduce the issue you were having where the columns that you made visible via the field chooser dialog were going under the wrong column group at around the 5th or 6th visible column. As such I've created a case for you and logged this as a development issue. More info can be found inside the case details.
Your case number is CAS-112984-W1Z4N4 and the development issue ID is 137549.
Any answer? I am still having this issue and needs to be resolved asap......
WIth Hidden setting, it works, but on xamdataGrid, it shows empty columns for all hidden columns which is not good. I have 32 columns and I have grouped them under 5 groups(created using column spans as there is no other way; I am using 12.1 version). When I use collapsed setting for 10 columns and using fieldchooser I select all thoese colla[sed columns, it works perfectly till I select 4 columns in first group which has column span of 11. When I select 5th, 6th column by checking checkbox in fieldchooser, it goes under second group of columns which start at row=1, column = 11. I have spent whole day, but nothing worked so far. Here is xaml code:
<igDP:XamDataGrid Grid.RowSpan="5" Grid.ColumnSpan="3" Name="xamDataGridSNAPList" AutoFit="True" BindToSampleData="False" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" GroupByAreaLocation="None" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" ScrollViewer.HorizontalScrollBarVisibility="Auto" Margin="0,0,0,0"> <igDP:XamDataGrid.FieldLayoutSettings> <igDP:FieldLayoutSettings AutoArrangeCells="Never" AllowAddNew="False" AutoFitMode="ExtendLastField" HeaderPrefixAreaDisplayMode="FieldChooserButton" MaxSelectedRecords="1" RecordSelectorLocation="LeftOfCellArea" SelectionTypeRecord="Single" AllowDelete="False" AutoGenerateFields="False"/> </igDP:XamDataGrid.FieldLayoutSettings> <igDP:XamDataGrid.FieldSettings> <igDP:FieldSettings LabelTextAlignment="Center" LabelClickAction="SortByMultipleFields" AllowEdit="False" AllowRecordFiltering="True" AllowGroupBy="True" AllowResize="True" AutoSizeScope="RecordsInView" Width="Auto" AutoSizeOptions="All" CellClickAction="SelectRecord" /> </igDP:XamDataGrid.FieldSettings> <igDP:XamDataGrid.FieldLayouts> <igDP:FieldLayout> <igDP:FieldLayout.Fields> <!--Address - Unbound Field added at the end--> <igDP:Field Label="Full Address" Name="SNAPAddress" Row="1" Column="0" ColumnSpan="2"/>
<igDP:Field Label="Consignee" Name="StConsignee" Row="1" Column="2" ColumnSpan="1" Visibility="Hidden"/> <igDP:Field Label="Number" Name="StNumber" Row="1" Column="3" ColumnSpan="1" Visibility="Hidden"/> <igDP:Field Label="Prefix" Name="StPrefix" Row="1" Column="4" ColumnSpan="1" Visibility="Hidden"/> <igDP:Field Label="Name" Name="StName" Row="1" Column="5" ColumnSpan="1" Visibility="Hidden"/> <igDP:Field Label="Type" Name="StreetType" Row="1" Column="6" ColumnSpan="1" Visibility="Hidden"/> <igDP:Field Label="Suffix" Name="StSuffix" Row="1" Column="7" ColumnSpan="1" Visibility="Hidden"/> <igDP:Field Label="City" Name="StCity" Row="1" Column="8" ColumnSpan="1" Visibility="Hidden"/> <igDP:Field Label="Postal" Name="StPostal" Row="1" Column="9" ColumnSpan="1" Visibility="Hidden"/> <igDP:Field Label="Postal(Alt)" Name="StAltPostal" Row="1" Column="10" ColumnSpan="1" Visibility="Hidden"/>
<!--Type - Unbound Field added at the end--> <igDP:Field Label="R/C" Name="ResiComInd" Row="1" Column="11" ColumnSpan="1"/> <!--NAP - Unbound Field--> <igDP:Field Label="Dist" Name="DistToNAP" Row="1" Column="12" ColumnSpan="1"/> <igDP:Field Label="Time" Name="TimeToNAP" Row="1" Column="13" ColumnSpan="1" Visibility="Hidden"/> <!--Exceptions - Unbound Field added at the end--> <igDP:Field Label="Date" Name="Date" Row="1" Column="14" ColumnSpan="1"/> <igDP:Field Label="RT" Name="RT" Row="1" Column="15" ColumnSpan="1" Visibility="Hidden"/> <igDP:Field Label="Loop-Unit" Name="LoopUnit" Row="1" Column="16" ColumnSpan="1"/> <igDP:Field Label="Seq" Name="Seq" Row="1" Column="17" ColumnSpan="1"/> <igDP:Field Label="Source" Name="Source" Row="1" Column="18" ColumnSpan="1"/> <igDP:Field Label="Shared" Name="Shared" Row="1" Column="19" ColumnSpan="1"/> <igDP:Field Label="SP" Name="SPExcep" Row="1" Column="20" ColumnSpan="1"/> <igDP:Field Label="NAP" Name="NAPExcep" Row="1" Column="21" ColumnSpan="1"/> <igDP:Field Label="Resi" Name="ResiExcep" Row="1" Column="22" ColumnSpan="1"/> <igDP:Field Label="Out" Name="Out" Row="1" Column="23" ColumnSpan="1"/> <!--Confidence Levels - Unbound Field added at the end--> <igDP:Field Label="SNAP" Name="SNAP" Row="1" Column="24" ColumnSpan="1"/> <igDP:Field Label="Service Point" Name="ServicePointConf" Row="1" Column="25" ColumnSpan="1"/> <igDP:Field Label="Network Access Point" Name="NetworkAccessPointConf" Row="1" Column="26" ColumnSpan="1" Visibility="Hidden"/> <igDP:Field Label="ResiComm" Name="ResiCommConf" Row="1" Column="27" ColumnSpan="1" Visibility="Hidden"/> <igDP:Field Label="DPS" Name="DPS" Row="1" Column="28" ColumnSpan="1"/> <igDP:Field Label="DPS DESCR" Name="DPSDesc" Row="1" Column="29" ColumnSpan="1"/>
<igDP:Field Label="SNAPAddressDummy" Name="SNAPAddressDummy" Row="1" Column="30" ColumnSpan="1" Visibility="Hidden"> <igDP:Field.Settings> <igDP:FieldSettings AllowHiding="Never"/> </igDP:Field.Settings> </igDP:Field> <igDP:Field Label="SNAPExcepStatus" Name="SNAPExcepStatus" Row="1" Column="31" ColumnSpan="1" Visibility="Hidden"> <igDP:Field.Settings> <igDP:FieldSettings AllowHiding="Never"/> </igDP:Field.Settings> </igDP:Field> <igDP:Field Label="LOCID" Name="LOCID" Row="1" Column="32" ColumnSpan="1" Visibility="Hidden"> <igDP:Field.Settings> <igDP:FieldSettings AllowHiding="Never"/> </igDP:Field.Settings> </igDP:Field>
<igDP:UnboundField Label="Address" Name="Address" Row="0" Column="0" ColumnSpan="11"> <igDP:UnboundField.Settings> <igDP:FieldSettings AllowHiding="Never" CellMaxHeight="0" AllowResize="True" AllowGroupBy="False" AllowRecordFiltering="False" LabelTextAlignment="Center" CellContentAlignment="LabelOnly"/> </igDP:UnboundField.Settings> </igDP:UnboundField> <igDP:UnboundField Label="Type" Name="ResiCommIndType" Row="0" Column="11" ColumnSpan="1"> <igDP:UnboundField.Settings> <igDP:FieldSettings AllowHiding="Never" CellMaxHeight="0" AllowRecordFiltering="False" LabelTextAlignment="Center" CellContentAlignment="LabelOnly"/> </igDP:UnboundField.Settings> </igDP:UnboundField> <igDP:UnboundField Label="NAP" Name="NAPDistTime" Row="0" Column="12" ColumnSpan="2"> <igDP:UnboundField.Settings> <igDP:FieldSettings AllowHiding="Never" CellMaxHeight="0" AllowRecordFiltering="False" LabelTextAlignment="Center" CellContentAlignment="LabelOnly"/> </igDP:UnboundField.Settings> </igDP:UnboundField> <igDP:UnboundField Label="Exceptions" Name="Exceptions" Row="0" Column="14" ColumnSpan="10"> <igDP:UnboundField.Settings> <igDP:FieldSettings AllowHiding="Never" CellMaxHeight="0" AllowRecordFiltering="False" LabelTextAlignment="Center" CellContentAlignment="LabelOnly"/> </igDP:UnboundField.Settings> </igDP:UnboundField> <igDP:UnboundField Label="Confidence Levels" Name="ConfidenceLevels" Row="0" Column="24" ColumnSpan="6"> <igDP:UnboundField.Settings> <igDP:FieldSettings AllowHiding="Never" CellMaxHeight="0" AllowRecordFiltering="False" LabelTextAlignment="Center" CellContentAlignment="LabelOnly"/> </igDP:UnboundField.Settings> </igDP:UnboundField>
</igDP:FieldLayout.Fields> </igDP:FieldLayout> </igDP:XamDataGrid.FieldLayouts> </igDP:XamDataGrid>
Please help.
Hi mheusser,
Do you still require assistance on this issue?
I've created a sample to attempt to reproduce this but I'm not seeing any issues when making one of the fields visible that was initially set to collapsed using the field chooser. I've attached a sample so could you take a look at it and let me know if you still see the issue? If the sample doesn't match how your application is setup could you make the necessary changes that would reproduce the issue and send it back to me? This way I will be able to debug it.