简体   繁体   中英

Increase width of ag-grid filter with specific column

I want to increase width of ag-grid filter with specific column在此处输入图像描述

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

Thanks in Advance

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;
}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM