'Increase width of ag-grid filter with specific column

I want to increase width of ag-grid filter with specific column enter image description here

I have tried to fix with css but its affecting with every column.

Thanks in Advance



Solution 1:[1]

Right click on filter input and click inspect. You will see an id generated, in my case the id of input is "ag-20-input". You can use this id to change width of specific column filter.

#ag-20-input{
    max-width: 2px !important;
}

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Usama