javascript - AgGrid Empty RowGroups heading lost when exporting to excel - Stack Overflow

I'm using AgGrid React with row groupings. For entries that do not have a value for the Column I&#

I'm using AgGrid React with row groupings. For entries that do not have a value for the Column I'm grouping by, it shows as '(Blanks)' in the table which is fine, but exporting to excel loses that text and I can't find an option to modify it.

The data underneath exports fine, just the title of the grouping is blank. I was hoping something like the following would help, but apparently AgGrid handles the empty row groups by default and overwrites in this case Empty Group with a blank cell

processRowGroupCallback: (params) => {
   if (!params.node.groupData) {
      return `Empty Group`
   }

   return params.node.key
}

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745072340a4609625.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信