![](/img/trans.png)
[英]How to conditionally format ReportBuilder field in Detail band depending on the other fields in then Detail band?
[英]TcxGridDBBandedColumn how to move inside band and not move outside of the band
我希望不要将TcxGridDBBandedColumn中的内容移到该区域之外。 那可能吗? 如果怎么办?
tcxGrid提供了一种获得与您所设想的行为类似的方式的方法,但它可能无法使您对列移动的行为进行足够的控制。
加载Devex演示项目“ ExpressQuantumGridViewBandedFixedDemo”并运行它。
请注意,您可以拖动“ Sunday
列标题以将其拖动到“ Days
的其他位置,甚至拖动到其他区域中。
现在,在对象检查器中,选择btvUsersSchedule.Bands[0]
,打开其“ Options
树,并将HoldOwnColumnsOnly
设置为True
。
对btvUsersSchedule.Bands[0]
执行相同的btvUsersSchedule.Bands[0]
。
完成后, Days
列将不再被拖入任何一个区域中。
现在,您只能在“ Days
内移动“ Sunday
列。
如果上述方法不能完全满足您的要求,请解释该演示的原因,因为可能会提供帮助的读者可以使用它。
最后,在IDE中,选择对象检查器中的btvUsersScheduleSUNDAY
列。 打开其“ Options
树并将“ Moving
为False
设置为。
现在,您根本无法移动“ Sunday
列。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.