Skip to Content
0
Former Member
Mar 02, 2006 at 11:26 AM

GridLayOut

13 Views

hi everyone,

i want gridlayout but it getting flowlayout how can i get this here is the code i written in wdModifyView()

if(firstTime)

{

IWDTransparentContainer con=(IWDTransparentContainer)view.getElement("RootUIElementContainer");

// CREATION OF TEXTVIEW

IWDAttributeInfo attinfo=wdContext.getNodeInfo().addAttribute("sample","ddic:com.sap.dictionary.string");

IWDInputField input=(IWDInputField)view.createElement(IWDInputField.class,"textview");

IWDInputField input1=(IWDInputField)view.createElement(IWDInputField.class,"textview1");

input.setEnabled(true);

input1.setEnabled(true);

input.bindValue(attinfo);

input1.bindValue(attinfo);

con.addChild(input);

con.addChild(input1);

}

I am creating two input fields dynamically but it getting

flowlayout give me coding for grid layout

KYAN----