Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
1 reply
Subscribers
6 subscribers
Views
1414 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Can be change the width of columns in the section without using Custom Component
ankitb0003
over 12 years ago
Can be change the width of columns in the section without using Custom Components.
Can we achive this using CSS.
...
OriginalPostID-61664
OriginalPostID-61664
Discussion posts and replies are publicly visible
0
janakirk
over 12 years ago
Put the below code on Load of ur form
function setColumnWidths(sectionId,sectionWidths)
{
try{
sectionWidths=sectionWidths.split(";");
var sectionBody = $("#fd_component_"+window.FormDesigner.runtimeNamespace+sectionId).find(".formSectionBody")[0];
if (sectionBody)
{
for(var currentColumn=0 ; (currentColumn<sectionWidths.length)&&(currentColumn<sectionBody.children.length) ;currentColumn++)
{
sectionBody.children[currentColumn].style.width=(sectionWidths[currentColumn])-2+"%";
/* -1% for column margin*/
}
}
}
catch(err)
{/*Do nothing if error occurs*/}
}
setTimeout(function(){setColumnWidths("sectionID","80;20");},20);
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel