2018.1.2: DataBands inconsistent behaviour (Bug)
Posted: Thu Dec 07, 2017 6:04 am
Hi there,
I can't seem to wrap my head around this behaviour of Master-Detail databands. I was facing it over a long time and it took really long to replicate it.
I hope I am able to explain it properly and provide you with as much information to fix this.
Version: 2018.1.2
Product: Stimulsoft.Web
Scenario:
I have a very basic report with 3-level Master-detail DataBands on one page. No fancy stuff.
School
-- Class
-- -- Student (has a property = Marks)
Now, when I display all in databands after setting MasterComponent, everything works as expected and I see the whole list: Now, I added a filter to the Student DataBand to only show students with Marks > 50. It worked sweet: Now, here's the issue. When I update the filter to show all students with Marks > 80, although it shows the StudentIds and the classes that they belong to, it doesn't show the School?! How am I able to tell which school do these kids belong to?
My 2 cents of in-depth error understanding:
It so happens that when the filter is applied, if the resulting rows are at the first position of child bands, the master is shown. This is why you saw School in the filter with Marks > 50. Because the first child (first class) in School Master band was "Science" and this class had students with Marks > 50.
But as soon as the filter was made to only target the second class "Commerce", the master disappeared. This was done using filter = Marks > 80.
Can you please fix this or tell me what I may be doing wrong so that I can use Stimulsoft in our enterprise product? I think this is quite inconsistent and should not happen in such a professional product.
Cheers,
Vineet
I can't seem to wrap my head around this behaviour of Master-Detail databands. I was facing it over a long time and it took really long to replicate it.
I hope I am able to explain it properly and provide you with as much information to fix this.
Version: 2018.1.2
Product: Stimulsoft.Web
Scenario:
I have a very basic report with 3-level Master-detail DataBands on one page. No fancy stuff.
School
-- Class
-- -- Student (has a property = Marks)
Now, when I display all in databands after setting MasterComponent, everything works as expected and I see the whole list: Now, I added a filter to the Student DataBand to only show students with Marks > 50. It worked sweet: Now, here's the issue. When I update the filter to show all students with Marks > 80, although it shows the StudentIds and the classes that they belong to, it doesn't show the School?! How am I able to tell which school do these kids belong to?
My 2 cents of in-depth error understanding:
It so happens that when the filter is applied, if the resulting rows are at the first position of child bands, the master is shown. This is why you saw School in the filter with Marks > 50. Because the first child (first class) in School Master band was "Science" and this class had students with Marks > 50.
But as soon as the filter was made to only target the second class "Commerce", the master disappeared. This was done using filter = Marks > 80.
Can you please fix this or tell me what I may be doing wrong so that I can use Stimulsoft in our enterprise product? I think this is quite inconsistent and should not happen in such a professional product.
Cheers,
Vineet