Dynamic heading(column names) and content in report
I need to generate dynamic heading(column names) and content. Here the number of columns is not static, since end user will select the required column before taking the report.
Say for example:
We have some data in html page with following fields.
ID | Name | Age| DOB| Class | Mark
For general report we can show the entire column in report. If end user need only ID,Name & Age,(which is selectable) then report should contain only the selected fields. So here we have to gerate dynamic reports based on selected field name. How can we do it? Normally we use ``do row`` syntax to print all the entry. How can we do in dynamic table heading and its value?
Thanks for your time take to read my thread.
Can you help with this problem?
Provide an answer of your own, or ask jai_python for more information if necessary.