leikind / wice_grid

A Rails grid plugin to create grids with sorting, pagination, and (automatically generated) filters
MIT License
537 stars 215 forks source link

Setting column style on an action column #191

Closed pavoni closed 9 years ago

pavoni commented 9 years ago

Is there a way of setting a style on an action column. I tried doing much the same as I would with a regular column block, but doesn't look to have any affect.

  g.action_column() do |contact|
    [true, {style: 'min-width: 300px'}]
  end
pavoni commented 9 years ago

Solved

 g.action_column(html: {style: 'min-width: 300px'})