I am displaying a mega menu dynamically and for this I want to create a grid as per the requirement. Here the some points to consider:
I tried row column structure of bootstrap, but data get displayed horizontally as per the row and I want data vertically as per the columns.
I'm creating like this structure dynamically using .map on array
<div className="row">
<div className="col-md-4"></div>
<div className="col-md-4"></div>
<div className="col-md-4"></div>
<div className="col-md-4"></div>
<div className="col-md-4"></div>
<div className="col-md-4"></div>
<div className="col-md-4"></div>
</div>
For more details:
Try with the flexbox, will help you to get result. Here is the link.