简体   繁体   中英

How to set dynamic column width to AG-Grid?

I want to set column width dynamically. That's mean here has attached stackblitz example. According to that example when i change the screen size only change table border. There not change Column width!|

I want to change column width also chanage with the table!

https://stackblitz.com/edit/ag-grid-angular-hello-world-kinvv8?file=src%2Fapp%2Fapp.component.ts

try this....

 remove position form app.component.html relative;left: 25% and rpelace style="width: 100%; height: 220px

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