I have made a Custom Serach Component based on textInput .
I am constructing this Component dynamically . The Requirement is that based on some condition i want to make its width to 100 Percent .
I tried this way , but its not working
if (viewName == DOMAIN)
Please tell me how can i increase width Percentage wise dynamicallly ??
searchVuiewNode.percentWidth = 100;
set component.percentWidth = 100;
Thank you very much .