Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
865
GroupBy - Weird Group Header Behavior
posted

Update: To clarify a BaseViewCollection in our case is a collection that inherits from BindingList that places restrictions on what can be added to the collection.

Here is the background:  MVVM pattern. The ViewModel has a BaseViewCollection<> of objects which are bound to the UltraGrid. The objects in the BaseViewCollection have another collection of other objects, also in a BaseViewCollection. The same occurs again at the next level.

So, the grid has 3 bands. Each collection is marked up with [DisplayName] (including the one on the ViewModel). When I group by a column in the 3rd band the following happens:

Given the DisplayName is not being taken for either of the collections, is there any way I can go about providing the correct collection name at both the BaseViewCollection'1 level, and the MyChildCollection level? The header caption for the bands are also set (so they DO appear correctly in the column chooser).

(Note that if I group by a column in the second band the same occurs with BaseViewCollection'1).

I've been poking at this for the last few hours with no luck, can anyone help?

Mark

 

Parents Reply Children
No Data