Suppose there are 10 json objects of td. The colspan attribute value of td is 1-3. Now we need to turn them into td and put them in tr. When the colspan of td is 1, put 3 td and colspan in tr. When colspan is 2, put two tds in tr. When colspan is 3, put 3 tds in tr. How to do it?
Solved with angular>ng-if
Just guess what you think. .