1 Solution
Hi Kiran,
Thank you for your report.
Unless I am mistaken, you want to generate report table at the runtime mode. In this case, please use approach described in the How to create a report dynamically Knowladge Base article to accomplish this task. If it does not help you, please post a sample project that illustrates the problem. We will examine it and try to find an appropriate solution for you.
-
As per your link provided, we have exact code for generating dynamice report table. However, it take same widths for all the columns. My question is how set different widths for different columns. ie. the data columns having less characters in datasource should be assinged less width for cells and for data columns haviing large chars in datasource should be assigned more width cells in dynamic report table.
How to achieve this in dynamically generated datasource to create dyanmic xtrareport.
I hope you understand it now. Please let me know for further information.Regards,
Kiran
-
Hi Kiran,
I am afraid there is no built-in method to specify a particular table cell width based on the corresponding data field content. As an immediate solution, create a custom procedure to examine the datasource collection and determine appropriate table cell width values.
Is your intention to post an answer to your own question?
- If so, then proceed.
- If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
- If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.