简体   繁体   English

DevExpress XtraReport:filterString编辑器已禁用

[英]DevExpress XtraReport: filterString editor disabled

I have done a report, using also the filterString editror. 我已经使用filterString编辑器完成了报告。

Now I'm doing the second, putting it in the same namespace of previous. 现在,我要进行第二个操作,将其放在与先前相同的名称空间中。 But now the filterString editor is disabled, both for second and first report. 但是现在第二个和第一个报告的filterString编辑器都被禁用。

Why? 为什么? Does it exist an option o something similar to enable it? 它是否存在选项或类似的启用选项?

EDIT: here a screenshot 编辑:这里是屏幕截图 在此处输入图片说明

it was because I take data from an obervableCollection, so I've put "DataSource" to none, instead of database. 这是因为我从obervableCollection中获取数据,所以我将“ DataSource”设置为none,而不是数据库。 This is the cause. 这是原因。

Put it to database again, and the filter string editor is enabled. 再次将其放入数据库,并启用过滤器字符串编辑器。 Weird.. but so it is! 很奇怪..但事实如此!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM