admin管理员组文章数量:1335435
In our application we make use of Luxon DateTime rather than JS Date. This means that all of our date columns need to be formatted using:
param.data.fieldName?.toISO({ includeOffset: false }) || ''
My question is, should I be doing this in processCellCallback or valueGetter?
I don't see any documentation about processCellCallback on the AG-Grid doc/api pages, so I am not sure if one has an advantage over the other.
In our application we make use of Luxon DateTime rather than JS Date. This means that all of our date columns need to be formatted using:
param.data.fieldName?.toISO({ includeOffset: false }) || ''
My question is, should I be doing this in processCellCallback or valueGetter?
I don't see any documentation about processCellCallback on the AG-Grid doc/api pages, so I am not sure if one has an advantage over the other.
Share Improve this question asked Nov 20, 2024 at 15:02 awdorrinawdorrin 4536 silver badges13 bronze badges1 Answer
Reset to default 0Here is the documentation for processCellCallback
. valueGetter
is used to get the value to display in the grid whereas processCellCallback
is used to get the value to display in the export.
本文标签: ag gridAgGrid Excel Exports processCellCallback vs valueGetterStack Overflow
版权声明:本文标题:ag grid - AgGrid Excel Exports processCellCallback vs valueGetter - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742351985a2458678.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论