0

When I create a SlickGrid this way:

var grid = new Slick.Grid(
  element, //needs to be something jQuery can act on: element, css selector, etc.
  dataView,
  [], //columns
  gridOptions
);

And then set the columns like so:

grid.setColumns(parameters.columns);
grid.autosizeColumns();

Do my columns come out very wide?

rstackhouse
  • 2,238
  • 24
  • 28

1 Answers1

0

If I remove or comment out the line:

grid.autosizeColumns();

The columns are rendered as I would expect.

rstackhouse
  • 2,238
  • 24
  • 28