Unplanned
Last Updated: 31 Mar 2025 06:04 by Ghefar
Stenly
Created on: 28 Mar 2025 16:58
Category: GridView
Type: Bug Report
3
GridView: Distinct values are not displayed when setting the FilterMemberPath to the Date property of a DateTime DataTable column when it contains DBNull.Value
Distinct values are not displayed when setting the FilterMemberPath to the Date property of a DateTime DataTable column when it contains DBNull.Value.

Generally, this is present because while the distinct values are generated, we check for the Date property in each row, however, when it reaches a row that has a DBNull.Value value, an exception is thrown because the Date property cannot be found in null.
1 comment
Ghefar
Posted on: 31 Mar 2025 06:04
Also the Field Filter Editor does not work properly (f.e. using the operator EQUAL TO). The rows will be filtered till a DBNull is found, then it seems to be internally aborted and might return partial results (or no result if the first row in the grid has the DBNull)