Bug Report T323318
Visible to All Users

The GetAvailableValues method does not return the Blank value

created 9 years ago

Please find the attached example application. The examples shows the following:

To test:
Click '400,000 + rows'. Wait for the data to load, this may take a while.

Drag 'Project Manager' and 'Job' to the Row area.
View the Project Manager filter and see the Blank row.

Click 'Get Available Project Managers'
View the output, notice that the 1st row is '010' NOT ' '.

Click 'Get Unique Project Managers'
View the output, notice that the 1st row is '010' NOT ' '.

The  btnGetAvailableValues_Click and  btnGetUniqueValues_Click events show
                that the field.GetAvailableValues() and field.GetUniqueValues() events are not returning a row when
               the value is spaces " " , which can be a valid value.  The built in filtering displays a checkbox for blank values.

Is there another event or option that can be set to achieve the returning of a Blank selection?

Comments (1)
DevExpress Support Team 9 years ago

    I have managed to replicate the problem with the GetAvailableValues method. This issue is a bug. We will fix it in the near future. The problem with the GetUniqueValues method was fixed in the context of the T292840: GetVisibleValues and GetUniqueValues methods do not return the Blank values bug report.

    Answers approved by DevExpress Support

    created 9 years ago

    We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

    Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

      Comments (1)
      DevExpress Support Team 9 years ago

        This fix will be included in the next minor versions: 15.2.5 and 15.1.10.

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.