There is an issue with UniDBGrid when user clicks on first row. First BeforeScroll event of Dataset occurs, then AfterScroll event happens. Again BeforeScroll happens but AfterScroll does not happen. This cause some issues, as I close some dataset on beforescroll and open them afterscroll.
Steps to reproduce:
Click on a row in grid other than First row
Now, Click on first row
Before scroll event happens
After scroll event happens
Before scroll event happens
The issue is After scroll event does not happen after second Beforescro