Bug Report T292840
Visible to All Users

GetVisibleValues and GetUniqueValues methods do not return Blank values

created 9 years ago

I am using GetVisibleValues to provide a list of column names in the PivotGrid. Most of the time, this works fine, returning a list of my columns.

However, one of our reports has the possibility of a blank value , and a column is displayed with the totals of blank entries. However, this is not listed on the GetVisibleValues (or the related GetAvailableValues or GetUniqueValues). I can also not find an indicator on the CellInfo that says blanks are permitted or valid.

Is there a way of identifying whether blank entries are permissible and displayed? I can enhance the GetVisibleValues to include an extra blank value, but I only want to do this if it is displayed on the grid.

Show previous comments (9)
DevExpress Support Team 9 years ago

    As I understand, at present you generate a report manually by data shown in the pivot grid. If so, I suggest you iterate through cells and use the PivotGridControl.GetCellInfo Method to get information about processed cells. To get corresponding column and row field values, it is possible to use the PivotCellBaseEventArgs.GetFieldValue Method.
    Does this solution help?

      That is the method I am using, in broad terms. But I still need to get a list of displayed values for the Column fields, for which I am using GetVisibleValues. I need this to identify the list of columns.

      DevExpress Support Team 9 years ago

        Thank you for the clarification.

        Answers approved by DevExpress Support

        created 9 years ago (modified 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 (2)

            Initial evidence is that this is working. Thank you.

            DevExpress Support Team 9 years ago

              Thank you for your confirmation, Steve. Please feel free to contact us if you notice any related issue. We will do our best to help you.

              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.