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 Reply Children