Alignment of cells of template grid in the middle

I have a template grid with 5 columns but not always there will be 5 values to fill so If the values fetched is less than 5 then I need to show the columns in the middle of the screen, is there any way I can do this .
0 answers