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
1339
Use Grid as Bounds for "No Rows In Data Source" Message
posted

When using NoDataSourceMessage, the message bounds are the entire grid, meaning if you set a background color or horizontally align the text it is applied to the grid as a whole; the entire grid turns the background color and the text can be stuck in the very middle of the grid.

NoRowsInDataSourceMessageText is placed in a single row, so out of the box TextVAlign has no effect and the background color only applies to the row, not the entire grid.

This behavior (treating the message as a row) seems disappointing.  Is there an existing setting that would allow this message to respect the grid bounds rather than behave as a row, or am I required to hackishly set and maintain the row size to the available grid area?

  • 48586
    posted

    Hello,

     

    After some research, the EmtyMessageRowFillRootBand property has been determined to be a new product idea. I have sent your idea directly to our product management team.

     

    Our product team chooses new ideas for development based on popular feedback from our customer base. Infragistics continues to monitor application development for all of our products, so as trends appear in requested features, we can plan accordingly.

     

    We value your input, and our philosophy is to enhance our toolset based on customer feedback. If your idea is chosen for development, you will be notified at that time.

     

    Your reference number for this product idea is PI12070017

     

    If you would like to follow up on your request at a later point, you may contact Developer Support management via email. Please include the reference number of your product idea in the subject and body of your email message. You can reach Developer Support management through the following email address: dsmanager@infragistics.com

     

    Thank you for your request.

  • 469350
    Offline posted

    Hi,

    No, there's no property for this. The reason that the EmptyMessageRow displays as a row instead of filling the entire grid is for child bands. If the EmptyMessageRow is in a child band, then it cannot fill the entire grid, since it would then prevent you from viewing other parent or child rows.

    I can see how filling the entire grid would be useful on the root band, though especially if you are binding to a flat (single-band) data source.

    It's a good idea and I'm going to forward this thread over to Infragistics Developer Support and ask them to enter a feature request for this.