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
cking  
#1 Posted : Thursday, August 11, 2022 10:06:53 PM(UTC)
cking

Rank: Newbie

Groups: Registered
Joined: 8/11/2022(UTC)
Posts: 0
United States

I am wanting to format a column to be just barely visible. It will be the column I will have a drill down on, but the column data will be a concat value of data table fields that don't really need to be viewed by the user.
Thank you
epf  
#2 Posted : Friday, August 12, 2022 3:14:02 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)
One simple way to do that is to select the element in your model and then use the 'Cell Script' property:
Code:
@{
    ResultCell cell=Model;
    cell.FinalCssStyle = "width:10px;";
}
cking  
#3 Posted : Monday, August 15, 2022 3:49:25 PM(UTC)
cking

Rank: Newbie

Groups: Registered
Joined: 8/11/2022(UTC)
Posts: 0
United States

Thank you for your input. Unfortunately, it is not reducing that column down too much using your suggestion. I even made it 1px and it still shows the full column value.
epf  
#4 Posted : Tuesday, August 16, 2022 7:21:26 AM(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)
Actually it is a pure html issue: you can do what you want with your table cell <td> element with the FinalCssStyle or FinalCssStyle properties.
Users browsing this topic
Guest
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.