AG网格过滤器参考数据在使用浮动过滤器时显示代码而不是描述

时间:2019-04-15 15:58:06

标签: ag-grid-angular

我正在为农业网格使用设置过滤器和参考数据,还启用了浮动过滤器。当我过滤该值时,浮动过滤器的标题显示代码而不是描述。有什么方法可以显示描述而不是代码吗?任何帮助将不胜感激。

[floatingFilter] = "true"

我在html中使用select cps_item.name as "item.name", ROW_NUMBER () OVER (ORDER BY e.create_ts) as "row", e.amount - SUM(cps_operation.amount) as "amount", e.price as "price", e.amount * e.price as "sum" from cps_receipt_items e left join cps_item ON e.item_id = cps_item.code left join cps_operation ON e.id = cps_operation.return_item_id where e.receipt_id = ${sell} and e.item_id is not null group by cps_item.name, e.amount, e.price, e.create_ts;

请参阅图片以供参考(https://i.stack.imgur.com/GcGQ0.png https://i.stack.imgur.com/zSJZW.png)。我需要显示说明(在本例中为“已分配”)而不是3。

0 个答案:

没有答案