开发者

Set Band Override in Infragistics 9.2 Winform Grid bound to IBindingList<T>

开发者 https://www.devze.com 2022-12-15 16:39 出处:网络
I am brand-new to Infragistics grids and need to set an overall Band override on my grid to stop the \'+\' expansion indicator when there are no child rows( Override.ExpansionIndicator = ShowExpansion

I am brand-new to Infragistics grids and need to set an overall Band override on my grid to stop the '+' expansion indicator when there are no child rows( Override.ExpansionIndicator = ShowExpansionIndicator.CheckOnDisplay).

My grid is bound to an object that implements IB开发者_开发技巧indingList, so I gather that any performance hit will be minmial.

My question is where/when is best to set the Override? I don't see me having much luck with DisplayLayout.Bands[n] until the bands actually exist...

EDIT: At the moment I am doing it just after the data is bound - will that do?


Just after the data bind seems to work Ok so I'll consider that the answer.

0

精彩评论

暂无评论...
验证码 换一张
取 消