fixedPage()

The use of the fixedPage() function gives different results as compared to the fluidPage() and bootstrapPage() functions.

fixedPage() should be used with fixed rows, as shown in the following code snippet example:

server = function(input, output){

# server code
}
ui = fixedPage(

fixedRow(
column(2, wellPanel(p("Column width 2"))),
column(8, wellPanel(p("Column width 8")), offset = 2))
)
shinyApp(ui = ui, server = server)

When we look at the final application, we can see that a gap has been added, as shown in the following screenshot, which is achieved by using the offset command:

We can also see that, although it is automatically resized, as with the fluid row, the resizing takes up space with little jumps, as with the fixed row example.

Here, the offset command has been added as an argument to the column.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset