Question

I am using XAF,now I need to categorize reports as master-detail view. I created Custom Report Class as in this example: http://documentation.devexpress.com/#xaf/CustomDocument3243 and a Category class inherited from HCategory. I used Category class instead of AdditionalInfo field.There is no problem here ,but I don't know how to associate them,send selected Category to ListView and show them as master-detail. Can you help please?

Was it helpful?

Solution

In the simplest case, it is sufficient to just add a public HCategory ReportCategory { ... } property into your custom ReportData class, and then group the ListView by this category column. If you want, you can make a true association between your custom ReportData and HCategory descendants as described in the documentation here.

See also a similar request in this regard. If you require more assistance on this task, please contact the DevExpress Support Team (it is free during the 30 day evaluation period). This way you will get a guaranteed solution in less than 24 hours (except for public weekends).

UPDATE: Here is the discussion created in the DevExpress Support Center on your behalf: http://www.devexpress.com/issue=Q441993

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top