how to increase datatable height in R markdown

Viewed 227

I'm facing this issue I want to see the first 10 rows but it gives scrolling by default.

datatable(data, options = list(), class = "display", fillContainer = T, 
       width = NULL, height = 1000, editable = FALSE) 

enter image description here

Can anyone help, please?

1 Answers

To overcome this issue I set scrollY = "565px" in the options = list()

Related