Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2395
Filter out selected item when data changes
posted

When we have a filter applied, and a selected record's data changes such that it should be filtered out, the record does not disappear until a different record is selected. If that record is the only item left visible in the grid, it's impossible to deselect the selected record, so it does not disappear. How can I make it so that a record disappears regardless of whether or not it is selected?

Here is my xaml:

 <grid:NTGrid x:Name="grdOrder" Grid.Row="1"
		AutoFit				="False"
		FieldLayoutInitialized		="OnFieldLayoutInitialized" 
		GroupByAreaLocation		="None"
		GroupByAreaMode			="DefaultFieldLayoutOnly"					 
 Tag				="OrderGrid" >
 <grid:NTGrid.FieldSettings>
 <igDp:FieldSettings AllowEdit		 ="False" 
			CellClickAction	 ="SelectRecord" 
			GroupByRecordPresenterStyle="{StaticResource OrdersGridGroupByRecordPresenter}"
			LabelClickAction ="SortByOneFieldOnly" 
			LabelTextAlignment ="Center"
			LabelTextWrapping ="NoWrap"/>
 grid:NTGrid.FieldSettings>  
<
grid:NTGrid.FieldLayoutSettings>
<
igDp:FieldLayoutSettings AllowClipboardOperations ="Copy" 
AllowDelete
="False" 
AllowFieldMoving
="WithinLogicalRow"
AutoFitMode
="OnlyWithVisibleStarFields" 
AutoGenerateFields
="False" 
CopyFieldLabelsToClipboard
="True" 
HeaderPlacementInGroupBy
="OnTopOnly"
HeaderPrefixAreaDisplayMode
="FieldChooserButton" 
MaxSelectedRecords
="1"
RecordSelectorLocation
="None" 
ReevaluateFiltersOnDataChange
="True"
SelectionTypeCell
="None"
SelectionTypeRecord
="Single" />
</grid:NTGrid.FieldLayoutSettings>