We let the user choose between single spacing, 1.5x spacing, and double spacing of the report rows. For the detail rows this is pretty easily accomplished by setting the Height of the detail section to (font size) * (line spacing) * (1.3). Line spacing is 1, 1.5, or 2. This makes all the detail rows space out correctly. But, we have reports with multiple total rows and these total rows need to be following the same spacing; we have not been able to get this to work.
For example I have two total rows in the footer section:
Sum <col 1 sum> <col 2 sum>
Average <col 1 ave> <col 2 ave>
When I set the location of the text boxes in the second row to y=0.01 points to y=1.99 points then this second row shows up as "single spaced"; in other words the top row text boxes push the second row down with no additional space added between then. Like "Sum" would be at (0, 0) and "Average" would be at (0, 1 point).
But as soon as I set the location of the second row text boxes to y=2 points or more the second row get pushed WAY down to basically double spaced (15 pixels between the rendered rows to 29 pixels between the rendered rows). Font size here was 8.25 points. I don't understand what is going on here. My plan was to sec the Y location of the second row to (font size) * (line spacing) * (1.3) which logically seems like it should work; but given this weird behavior I get double spaced all the time (for 1, 1.5 or 2).
Do I need to add a "spacer row" between these two rows to accomplish this or something similar? Is the Y component of the text box location interpreted in some weird way?
I have a table in my report that contains 2 rows. I have now merged a couple of cells to create a larger column. I am trying to now conditional format the row in that if a record is null, hide that row.
It is not working as I suspect that it is seeing that the cells to the left and right have been merged. So I end up with the image attached.
Is there a way to accomplish this?
Have a class deriving from Telerik.Reporting.Report. The report has parameters which have values being passed in. They are being passed in because I can print out their values on the report.
But I would like to intercept their values at some point in the code to do something with them, but when referencing them they are all null.
Tried referencing them in the constructor of the report, as this.ReportParameters.
Tried adding event handlers to various events of the report object, as well as events of datasource objects within the report. What event handler needs to be handled where the ReportParameters will be available when they are passed in from outside?
Passing in parameter values from HTML5 viewer using reportSource property as object value set to parameters.
I have a table with several columns. Some of the rows have repeating data in their columns. Using Row Groups, I can group the data like so:
Patter
Hi,
I have created a custom user function for translation where I will get the translations from a .po file and replace the values. The issue is these .po files resides in the same directory where the / file is. But these files are dynamic hence I cannot specify a static path inside my function. Is there a way to get the current path of the opened / file? I have tried 'Directory.GetCurrentDirectory()' and 'Path.GetDirectoryName(System.Reflection.Assembly.GetEntryAssembly().Location' but both returns the path for the Telerik.ReportDesigner.exe
I have need for a report whereby the header has to be the same on each page but the contents and footer different.
As an example
Is this possible and if so can anyone provide details?
Have a table which is bound to a data source. Would like to filter its rows from page to page based on a field value from the main report's data source.
Is this possible?
Dear Support,
I have created a table in Report designer and Hide a column dynamically depending on one of the Boolean Control, it works fine in PDF and Excel, however, when exporting to CSV files, the column shows up.
Is there a way to Hide the column in CSV file as well?
This is a 60+ fields table, and change that to Crosstab is not quite working for us as we can't have the title correctly in crosstab and data structure is not the same too.
Kind Regards
Hugo