I am writing R shiny, and I want to make the column name of the renderTable to be center-aligned.

I have tried this, but it only makes the table move to the center to the panel.

```
#UI
      column(12, align = "center", tableOutput("table_of_item")), (XXXWRONG!)

```

So

```
  output$table_of_item <- renderTable({ #the table in the middle
if (is.null(rv2$data_batch))return() #to check the file is imported 

t <- dataset_preprocess_batch(rv2$data_batch) #data preprocess

head(t,n=20) #show the data with the first 20 row only
})  

```

table\_of\_item is one of the example, I want to make all the renderTable 's colname to be center-aligned.

Thanks for your help :)