Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

How to set and get AutoChildProperties

$
0
0
Hi,

I am using SmartGWT Version "v9.0p_2013-12-14/PowerEdition Deployment"

While creating TileGrid I override getTile and in which I am trying to set The AutoChildProperties. like

canvas.setAutoChildProperties("lngOrderedQty1",FOR MITEM);

Not able to get using...

tile.getFormItemAutoChild("lngOrderedQty1") OR
tile.getCanvasAutoChild("lngOrderedQty1")

Both method is throwing exception.

if I check object I do see the "lngOrderedQty1"Properties

canvas object is like

SimpleTile{creator: [TileGrid ID:isc_FWInitializer_1_0],
ID: "isc_FWInitializer_1_0_tile_1",
tileNum: 1,
canHover: true,
position: "absolute",
className: "simpleTileSelected",
width: 180,
height: 150,
left: 224,
top: 5,
styleName: "simpleTileSelected",
showDown: false,
lngOrderedQty1Properties: Obj{ID:isc_DynamicForm_11},
children: Array[3],
border: "1px solid black",
padding: 2,
parentElement: [TileGrid ID:isc_FWInitializer_1_0],
topElement: [SectionStack ID:isc_SectionStack_0],
cacheOffsetCoords: true,
zIndex: 200414,
selected: true,
}


Please suggest.

Regards,
DSingh

Viewing all articles
Browse latest Browse all 4756

Trending Articles