I have a database that is populated and read into a table on one of my web pages. The display table is set to automatically expand to include all database rows. However, when this table is displayed on the live site, it does not work consistently. for example in a case with 15 rows, it expands from the initial page element size of 4 rows to only about 8 or 9 rows, but not a full 15 rows. The size can be more or less than 15 from time to time.
Why is this happening and what can I do to make it expand all the time?
Without showing any of your used CODE → anybody will be able to help you!
I specifically put this into the QUESTION category, where I thought you were not allowed to enter any code. My mistake.
I have gotten this to work fairly consistently AFTER I reset the Table (set Table to manual, then back to automatic, then Save website, then refresh). If this issue continues, I will post my code which is VERY LONG unfortunately.
A very long code ? → seems to be a code, which can be shorted
(optimized)
For sure…I know it can be shortened…but I don’t think the code is the problem. It’s the rendering of the table.
Problem solved. I added a dataset onReady function to the Page’s onReady function.
Next time just show your code. I could not know that you have a second parallel running post, where you have had your code.
About 100-code-lines? → very long? 
What when you have to handle a code abot 2500- complex-code-lines?
@russian-dima You are correct. I thought I was just asking a simple question. Will do next time.
As for the excess lines of code, I am aware functions should be broken down into smaller functions. But I have not mastered this capability fully yet, especially when it comes to call-back’s. Callbacks really confuse me so I take the conservative approach, namely I stay away from them until I build version 2 someday when I become more knowledgeable. For now I am happy with what I have built. Nonetheless, thanks for your tip. I always appreciate feedback, good or bad.