Is there a custom row height plugin available #1180
|
Is there a custom row height plugin available, that is very importable to me |
Answered by
jahanbakhsh18
Aug 15, 2026
Replies: 1 comment
|
Hi @islittlezhou , Yes, a custom row height feature is now available. It is not a separate plugin, but a built-in feature added recently in PR #1235. There are two easy ways to do this:
You can see a working example in the file (Also see related discussion: #1276) I hope this helps. |
0 replies
Answer selected by
ghiscoding
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @islittlezhou ,
Yes, a custom row height feature is now available. It is not a separate plugin, but a built-in feature added recently in PR #1235.
You can use it by setting
enableVariableRowHeight: truein your grid options. Then, you can control the height of each row individually.There are two easy ways to do this:
rowHeightProviderfunction: You write a function that returns a height (in pixels) for a specific row.ItemMetadata.height: If your data already uses metadata (for styling, etc.), you can add a height property to it. The grid will read it automatically.You can see a working example in the file
example-variable-row-height.htmlin the repository. It shows b…