Dynamically Generate tables
Generate a table dynamically, where a column of a table is the result of a function, and the number of table rows is indeterminate. If it is implemented with a for loop, it will take a lot of time to invoke the function every time, is there any good way? Maybe the description is not very clear
------Solution--------------------
The adjustment of the function of the number of times seems to be saved, first calculated, put a number of groups, and then splicing into a table, too much on the page, once only a few of this page on the line
------Solution--------------------
Data is decoupled from the view layer. Slowly toss ~
------Solution--------------------
function calls, which are displayed with pagination if you are not sure
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service