I have used using this trying to fit the column and row width how to dynamically set the row height and column width in ag-grid(please provide git hub code in typescript)
相关问题
- Is there a limit to how many levels you can nest i
- How to toggle on Order in ReactJS
- void before promise syntax
- Keeping track of variable instances
- Can php detect if javascript is on or not?
I am assuming that you want to set row height based on the content of a row.
step 1 : set getRowHeight property to a javascript function.
gridOptions.getRowHeight = rowHeightFn
step 2 : define rowHeightFn based on your requirement.