Column nameColumn = grid.addColumn(Person::getName)
.setHeader(“Name”).setResizable(true);
// Setting a column-key allows fetching the column later
grid.addColumn(Person::getAge).setHeader(“Age”).setKey(“age”);
grid.getColumnByKey(“age”).setResizable(true);
When you want to column to be resizeable you set the column setResizable method. Demo works fine.
But the moment i add
grid.appendHeaderRow() or grid.prependHeaderRow() - the column resize stops working. I want a filter textbox on each column of the grid and thats why i add the header row.
But when you do grid.appendFooterRow() - column resize still works.