How to increase the width of an optionlist on a form in tibco business studio, manually, using javascript?

I have written javascript in rules tab for open event of the form(i.e. when the form is opened) to increase the width of an optionlist on a tibco form in business studio.

The script is :

this.getControl("name_of_optionlist").setVisualProperty( "width", "250px");

But the width of optionlist is not changing. 

 

 

(1) Answer

Login