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
1785
Using NoRowsInDataSource with a multi-band UltraGrid
posted

I am using an UltraGrid bound to a BindingSource that results in a two-band layout.  The first band is "Regions" and the child band is "Countries" where each region can have zero, one or more countries.  I'm using to use the "no rows in data source" capabilities of the UltraGrid but it's not working the way I expect it to.  Here's what I've got.

Within the grid-level override I have NoRowsInDataSourceMessageEnabled set to TRUE

Within the override for Band 0 I have NoRowsInDataSourceMessageText set to "There are no regions".  This seems to work fine if there are no regions at all in the BindingSource.

Within the override for Band 1 I have NoRowsInDataSourceMessageText set to "There are no countries for this region".  This does not work at all.  I have three regions in band 0 and none of them have countries.  I cannot get this message to appear.

Any idea what I'm doing wrong?

Parents
  • 69832
    Offline posted

    You aren't doing anything wrong. Either this should work for band one and deeper (since the properties appear on the Override they should be applicable to all bands), or this is by design behavior that is not properly documented.

    I'm not sure which because I was not involved in the development of that feature, so I submitted a bug (ID = TFS201451). You'll be notified when the developer that supports that product determines what the correct behavior should be in this scenario.

Reply Children