Using R shiny & DT package, I am creating certain tables. The number of columns vary as per user input & is not fixed. I have included the following code snippet to
Try this:
DT::datatable(sta, options = list( pageLength=50, scrollX='400px'), filter = 'top')