I need to make rows and columns in angular 6 using recursion in which row can columns and columns have any numbers of row

I tried using making it using dynamic HTML but I unable to call click event in dynamic HTML. This is what is tried by myself My.html file this type of JSON is used for making rows and columns,we also have identifiers and row-column checks in our JSON. Please help I got stuck here so bad, i need to make grid of row and columns on the basis of below json Answer You can define a component which will generate your html and you can call it recursively You can call this grid component from your app/display component like this This