This content has been marked as final. Show 4 replies
The solution of course depends on the more precise requirements, but if you mean they can select individual database rows, or criteria for selecting blocks of database rows, then your UI design will have a way for users to "filter" what database rows/columns to report on. Then feed this to charts and perhaps your reporting engine, making as much use of data binding, models, and possibly/preferrably MVC architecture, all to reduce the need to hand code.
Thanks for the answer!
Due to my newbie-centered programming skills I'm finding it hard at the moment to achieve the goal using charts.
In this initial state I'm thinking this:
- The UI would consist of a set of checkboxes at the right (these would be the fields\columns from the database)
- and a DataGrid component to show the fields that are checked in the right.
Should be possible to create DataGrid columns at runtime, right?
Thanks for the reply!
You can create DataGridColumn at runtime, and you can use CheckBox as an itemRenderer in the DataGrid if you would like.
I would start by reading this FB3 help topic and all its sub-topics:
Flex Programming Elements
Thank you Greg for your helpful kind support!
Nice to hear. Then I'll go with DataGrid at this moment.
I'll look in the Flex Builder help section. A clearly underrestimated resource by the way - I sometimes even forget it's existence =P
When I'll move on, basing the report function on charts; which chart type should I use for this application? Should I programme a new one?
Thanks in advance!