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

Notification

Icon
Error

Column Space in Dashboard Surface?
Anna
#1 Posted : Wednesday, September 21, 2011 8:04:56 PM(UTC)
Rank: Member

Groups: Registered, Customer
Joined: 8/31/2011(UTC)
Posts: 13
Location: Toronto, Canada

Hi,

I have a row with 2 columns, and like to have some spaces between the columns.

How can I achieve this?


Thanks,
Anna
tansu
#2 Posted : Wednesday, September 21, 2011 8:14:24 PM(UTC)
Rank: Advanced Member

Groups: Registered, Administrators
Joined: 7/24/2009(UTC)
Posts: 814
Man
Location: Türkiye / Ankara

Was thanked: 1 time(s) in 1 post(s)
Yes. Just set a style for column like padding-left:50px;

Todo so, Click Edit Dashboard, select a row/column.

-tansu
Tansu TURKOGLU
Development Team
www.dynamicdashboards.net
Anna
#3 Posted : Wednesday, September 21, 2011 8:29:05 PM(UTC)
Rank: Member

Groups: Registered, Customer
Joined: 8/31/2011(UTC)
Posts: 13
Location: Toronto, Canada

I don't use Edit Dashboard, doing it in the code.

How do I do this programmatically? something like DashboardSurface1.CurrentInstance.Rows[0].Columns[0]. .... ??


Thakns,
tansu
#4 Posted : Wednesday, September 21, 2011 8:33:47 PM(UTC)
Rank: Advanced Member

Groups: Registered, Administrators
Joined: 7/24/2009(UTC)
Posts: 814
Man
Location: Türkiye / Ankara

Was thanked: 1 time(s) in 1 post(s)
Yes, exactly.

Actually Editor does the same.
Tansu TURKOGLU
Development Team
www.dynamicdashboards.net
Anna
#5 Posted : Wednesday, September 21, 2011 8:51:59 PM(UTC)
Rank: Member

Groups: Registered, Customer
Joined: 8/31/2011(UTC)
Posts: 13
Location: Toronto, Canada


DashboardSurface1.CurrentInstance.Rows[0].Columns[0].StyleSpec = "padding-left:20px;";

it doesn't work for me?
tansu
#6 Posted : Monday, September 26, 2011 12:11:14 PM(UTC)
Rank: Advanced Member

Groups: Registered, Administrators
Joined: 7/24/2009(UTC)
Posts: 814
Man
Location: Türkiye / Ankara

Was thanked: 1 time(s) in 1 post(s)
Hi,

Did you try to set Padding ie. e.Instance.Rows[0].Columns[9].Padding.

Also please note you have to update DashboardInstace using DashboardFramework.UpdateDashboard method. Just have a try on sample web site.

-tansu
Tansu TURKOGLU
Development Team
www.dynamicdashboards.net
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.


This page was generated in 0.061 seconds.