Unable to add column filter in data grid 2

0
I have a data grid 2 with around 60-70 columns. If i try to drag and drop a filter to a column, it shows disabled. But if i reduce the number of columns in my table, the size of each column increases and i am able to drop a filter to it. Is this a bug? How do i add filters without deleting my columns?
asked
1 answers
2

Hi Pranav,

 

My first suggestion would be to ask yourself (and/or your stakeholders) if it's absolutely required to show that many columns in a single datagrid. In most use cases you would only show the key identifiers and/or columns that require a filter, and move all the other attributes to a detail page if the user wants to see more.

 

However, to solve your problem: most likely the space where you normally drop the filter is too narrow because of all the columns. There is a property on page/snippet level called 'canvas width', which allows you to expand the horizontal space when viewing in structure mode in Studio Pro. Try changing this setting to a higher number, as by default it will be 800px

 

image.png

 

Hope this helps!

 

Cheers, Joost

answered