You may also have a look at the SQLExample in the source code of the
B4X SQLite Database B4X Booklet (B4A ony).
It contains a very simple table based on the ScrollView2D library, like the Flexible Table.
It is not a CustomView, the project was developed quite some time ago and before classes were introduced.