Dear ALL,
I have been struggling to achieve in an Android app one of the most fundamental tasks in any user-oriented software (be it for mobile or desktop devices), namely, displaying data to the user in spreadsheet-like tabular form (like offered by the Delphi/Lazarus StringGrid and DBGrid controls).
I of course started from the basics: I attempted to modify the AppSqliteDemo3 included with LAMW to perform this task. I try to more or less replicate the nice (but unfortunately incomplete, because the author did not made available
all the code) example here:
https://forum.lazarus.freepascal.org/index.php?topic=39290.0 I added two jGridViews,
The app compiles and runs, but (as always!) there seems to be a problem with finding the correct layout of the two grids (the directions provided by the author of the linked example do not seem clear enough to me): the grid that should show the data is not displayed, and the grid which which should display the headers (column names) appears too large and the names of the columns do not appear well.
Could someone give me a hand?
I attach my tentative example (for what it is worth).
Thanks in advance!!!
PS As an aside, I have two questions:
I noticed that LAMW includes a jDBGridView which presumably should behave like Delphi/Lazarus DBGrid, but I could not run the demo; it there other (
simple!) examples of this component?
Is there any limits (in performance, I mean) to the size and number of records of a SQLite database in Android? My real database has 12,000 (yes, twelve thousands) records and about 1 Mb in size. When I attempted to run the AppSqliteDemo3 with my database, instead of the small one provided with the demo, the app froze and then crashed.