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
Tom Van Overbeke  
#1 Posted : Tuesday, December 10, 2019 12:29:51 PM(UTC)
Tom Van Overbeke

Rank: Member

Groups: Registered
Joined: 10/23/2019(UTC)
Posts: 11
Belgium

Hello,

I have a report with a long number of records. I'd like to keep the column headers always visible on top, so that you can scroll through the list and still always see what each column means.
Is this possible?

I'm also looking for a way to change the background color of a column.
I thought I could to it like this:

cell.ContextRow.FinalCssStyle = "color: red;";

in the cell script, but the syntax isn't right apparently?

Thanks for your help,
Tom
epf  
#2 Posted : Wednesday, December 11, 2019 8:39:08 AM(UTC)
epf

Rank: Administration

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

Thanks: 14 times
Was thanked: 205 time(s) in 198 post(s)
The pagination relies on the DataTable component which does not offer the header and scroll you want...

Concerning the cell color:
cell.ContextRow is an integer,
just use
cell.FinalCssStyle = "background-color:red;";

Users browsing this topic
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.