I defined a "group" variable in the component. When the value of group is 3, I create 3 columns in the html template. The details are as follows:
class A{
group = 3;
}
<th>first th</th>
<th>second th</th>
<th>third th</th>
How to implement this function in html template?