Raw data table column filter width


#1

Hello, I have an Raw data table with column filters enabled, but a column that is of type ATTRIBUTE by default has a slicer as a column filter. Is it possible to make the container of this column filter wider?


#2

Yes, when you set the column filter you should also set some additional properties like this:

.set('columnFilters', [
  { 
      field: 'your_column',
      component: 'slicer' ,
      props: {
          width: 400,
      }
  },
  { field: 'other_field' },
  ... 
])

#3

Looks good, it seems like is something new, i tried and it was the solution, thanks :pray: