Description & Source Code

This example shows how the grid component is created on demand only as the onOpen event is triggered.

	<groupbox id="root" mold="3d" open="false" width="420px">
		<caption image="/widgets/event/create_on_demand/img/FirstWindow-24x24.png" label="Click me to open the groupbox"></caption>
		<grid fulfill="root.onOpen">
				<column label="Feature" hflex="1" />
				<column label="Benefits" hflex="3" />
					<label value="Create On Demand" />
					<label value="Components are created only when they are needed,
				saving both memory and rendering time." />

	The grid will be created when the open the content of groupbox