logo

Warning: The forum is now for consultation only. Please use GitHub Discussions to post any questions or comments.


Welcome Guest ! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
siobhan  
#1 Posted : Wednesday, January 21, 2015 12:56:42 PM(UTC)
siobhan

Rank: Member

Groups: Registered
Joined: 6/5/2014(UTC)
Posts: 23
Ireland
Location: Dublin

Thanks: 1 times
Hi

I have three questions in relation to the Summary Table.

1. It is possible to make the Summary Table Static at the top of the report, so if you click on the Page Number it goes to that
page but the summary table is visible. The User can then Select the next area of the report they are interested in.

2. Can I remove the Page Column from the Summary Table?

3. Can I rename the Page Column Header?

Thanks,
Siobhan
epf  
#2 Posted : Wednesday, January 21, 2015 4:46:22 PM(UTC)
epf

Rank: Administration

Groups: Administrators
Joined: 12/20/2013(UTC)
Posts: 1,209
Switzerland

Thanks: 14 times
Was thanked: 206 time(s) in 199 post(s)
Hi, here are my answers:
Concerning doing the Summary table static, you will probably have to deal with the CSS of the DIV section containing the summary table.
You can do that by editing the CSS parameters of the View and set the value of the Summary Table Container to
Code:
position:fixed; top:50px; left:50px;
and play with it to see if it does what you want...

For your 2 last questions, you might consider to use a custom template for your View...as it is not the standard behavior.
Select your view, then set the property "Use custom template" to true, then edit the custom template (property Custom Template).

You then dive in the CS (for C#) HTML world which can be tricky but powerful.

You can rename the Page column header at the line
Code:
@Report.Translate("Page")
.
You could remove the Page column by simply removing the part
Code:
                        <td class='@(isFirst ? "summary_title" : "cell_value")' style="text-align:center;">
                            @if (!isFirst)
                            {
                                if (row - 1 < ReportModel.Pages.Count)
                                {
                                    ResultPage page = ReportModel.Pages[row - 1];
                                    <a href="#@(View.ViewId+page.PageId)">@row</a>
                                }
                            }
                            else
                            {
                                isFirst = false;
                                @Report.Translate("Page")
                            }
                        </td>




Modifying the template is not recommended for maintenance reasons.

Edited by user Wednesday, January 21, 2015 4:47:55 PM(UTC)  | Reason: Not specified

siobhan  
#3 Posted : Friday, January 23, 2015 12:07:26 PM(UTC)
siobhan

Rank: Member

Groups: Registered
Joined: 6/5/2014(UTC)
Posts: 23
Ireland
Location: Dublin

Thanks: 1 times
Thats Great,

Thanks,
Siobhan
Users browsing this topic
Guest (2)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.