Skip to content

config/initializers/rails_admin.rb:4:in block in <main>': undefined method horizontal_scroll_list=' for RailsAdmin::Config:Module (NoMethodError) #3032

Closed
@syit

Description

@syit

I tried this to make the list view table show all of the columns on a single page, with horizontal scrolling and frozen header columns in the table.

RailsAdmin.config do |config|
  ...
  # Use default horizontal scroll settings of 3 frozen columns (checkboxes, links/actions, ID) with a border on the right:
  config.horizontal_scroll_list = true

  # Use horizontal scrolling, but without any frozen columns:
  config.horizontal_scroll_list = {num_frozen_columns: 0}

But getting error
/config/initializers/rails_admin.rb:4:in block in

': undefined method horizontal_scroll_list=' for RailsAdmin::Config:Module (NoMethodError)

rails_admin (1.3.0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions