Business Object Data Binding
Posted: Tue Jul 26, 2011 5:46 pm
I have connected the business objects to a TimeNavigation control (ComponenatArt). When I select a date range the report data is then refresh. I am using MVVC.
Currently the TimeNavigation Date Selection is databound to my ViewModel which triggers a Property Change on the ReportData. This event triggers a call to a method to repopulate the business objects. (Clearing business objects first, then adding them, render and then a refresh) Works but not very elegant.
Ideally I would like to databind the collection of business objects data to the ViewModel. Any changes to the data or a property change event will trigger a refresh via the report.
I know this feature is not implemeted but I would be interested in your thoughts
Currently the TimeNavigation Date Selection is databound to my ViewModel which triggers a Property Change on the ReportData. This event triggers a call to a method to repopulate the business objects. (Clearing business objects first, then adding them, render and then a refresh) Works but not very elegant.
Ideally I would like to databind the collection of business objects data to the ViewModel. Any changes to the data or a property change event will trigger a refresh via the report.
I know this feature is not implemeted but I would be interested in your thoughts