How to put the Variable Names Center alligned using D3TableFilter Package

shiny
r
d3tablefilter
edit
column

#1

The Table which got generated after using the D3TableFilter has no proper alignment of the Variable Names. So how can we align them? I have used a ColumnResizer Property as below. However it is not resizing the column.

d3tf(Table2,
         edit = c("col_4", "col_5"),
         enableTf = TRUE,
         extensions = c("ColumnsResizer"),
         tableProps = tableProps,
         selectableRows="single",
         filterInput = TRUE,
         tableStyle = "table table-bordered");    
   
  })

#2

Can you attach a screenshot of the problem?

Regards,
Kunal


#3

Hi,

Thanks for your quick reply.

Here in the Image you can see that A variable named Variable is aligned in a different way.
I need all the variable names to be aligned in center.