网格字段未使用修改后的值进行排序。 [英] Grid fields are not sorting with modified values.

查看:73
本文介绍了网格字段未使用修改后的值进行排序。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

数据网格字段未按用户"已修改"进行排序。通过单击列标题来显示值。


必须将它们保存到Grid列标题的数据库中才能正确排序值。


似乎使用原始值而不是修改后的值对网格进行排序。


这是设计还是错误?


如果这是设计的,请解释原因。  


谢谢!


BTW: 我正在掌握B2 GUI,并认为这是一个极端的改进 - 很棒的工作,伙计们。

解决方案

这是当前设计。  排序作为服务器查询的一部分发生。由于
尚未保存到服务器,因此无法将其包含在
排序 ed结果中。


可能有可能在客户端上进行某种自定义排序。我还没有尝试过。我不得不四处询问。但我相信它会涉及在某些时候操纵视觉收藏,只是不确定最好的方法去做那个


 


Data Grid fields are not sorting with the user "modified" values by clicking the column headers.

They must be saved to the database for the Grid column headers to sort the values correctly.

It seems that the Grids are being sorted with the original values rather than the modified values.

Is this by design or a bug?

If this is by design, please explain why.  

Thanks!

BTW:  I'm getting the hang of the B2 GUI and see it as an extreme improvement - great job, folks.

解决方案

This is the current design. Sorting happens as part of a server query. Since the values haven't been saved to the server it cannot include them in the sorted results.

It might be possibe to do some sort of custom sort on the client. I haven't tried that yet though. I'll have to ask around. But I am sure it would involve manipulating the visual collection at some point, just not sure the best way to go about doing that yet.

 


这篇关于网格字段未使用修改后的值进行排序。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆