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
|
|
|
|
|
|
Rank: Advanced Member
Groups: Registered, Administrators Joined: 7/24/2009(UTC) Posts: 814  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
|
|
|
|
|
|
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,
|
|
|
|
|
|
Rank: Advanced Member
Groups: Registered, Administrators Joined: 7/24/2009(UTC) Posts: 814  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
|
|
|
|
|
|
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?
|
|
|
|
|
|
Rank: Advanced Member
Groups: Registered, Administrators Joined: 7/24/2009(UTC) Posts: 814  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
|
|
|
|
|
|
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.