<DIAGRAM generator='gmodeler.com' appVersion='0.2' type='classmap' name='Flash UI DataGrid' author='Author' dateCreated='2003/1/18' dateModified='2003/1/18'>
	<ELEMENTS>
		<ELEMENT hiliteColor='FF9900' height='250' width='185' y='0' x='-190' name='FDataGrid' type='class'>
			<GROUPS>
				<GROUP NAME='Methods'>
					<ITEM name='addColumn' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.addColumn(<code>gridColumn</code>)</p></SECTION>
							<SECTION name='Parameters'><p><code>gridColumn</code> A reference to the FGridColumn object. </p></SECTION>
							<SECTION name='Returns'><p>Nothing.</p></SECTION>
							<SECTION name='Description'><p>Method; adds an FGridColumn object to the right side of the grid.</p></SECTION>
							<SECTION name='Example'><p>The following example adds a column named <code>newColumn</code> at the last position in the grid and sets its width to 40:</p><p class="codeStyle">function gridAddColumn() {
	var myColumn = new FGridColumn(&quot;newColumn&quot;);
	grid.addColumn(myColumn);
	myColumn.setWidth(40);
}</p></SECTION>
							<SECTION name='See also'><p><a href="reference:Flash UI DataGrid/FGridColumn/Methods/getHeader">FGridColumn.getHeader</a>, <a href="reference:Flash UI DataGrid/FDataGrid/Methods/addColumnAt"><code>FDataGrid.addColumnAt</code></a></p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='addColumnAt' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.addColumnAt(<code>index</code>, <code>gridColumn</code>)</p></SECTION>
							<SECTION name='Parameters'><p><code>index</code> An integer. </p><p><code>gridColumn</code> An instance of the FGridColumn object.</p></SECTION>
							<SECTION name='Returns'><p>Nothing.</p></SECTION>
							<SECTION name='Description'><p>Method; adds an FGridColumn object to the grid at the column specified by the <code>index</code> parameter.</p></SECTION>
							<SECTION name='See also'><p><a href="reference:Flash UI DataGrid/FGridColumn/Methods/getHeader">FGridColumn.getHeader</a>, <a href="reference:Flash UI DataGrid/FDataGrid/Methods/addColumn"><code>FDataGrid.addColumn</code></a></p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='addItem' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.addItem(<code>item</code>)</p></SECTION>
							<SECTION name='Parameters'><p><code>item</code> A data item object. </p></SECTION>
							<SECTION name='Returns'><p>Nothing.</p></SECTION>
							<SECTION name='Description'><p>Method; adds a data item to the end of the grid. A data item is an object that can include multiple name-value pairs. The name indicates the column, and the value is the data entered in the specified cell of the column. The following code contains two data items, each with three name-value pairs: </p><p class="codeStyle">var item1 = { From:&quot;Nigel&quot;, Subject:&quot;Getting items is fun!&quot;, Date:&quot;06.09.02&quot; }
var item2 = { From:&quot;Jody&quot;, Subject:&quot;I agree&quot;, Date:&quot;06.09.02&quot; }</p></SECTION>
							<SECTION name='See also'><p><a href="reference:Flash UI DataGrid/FDataGrid/Methods/addItemAt"><code>FDataGrid.addItemAt</code></a>, <a href="reference:Flash UI DataGrid/FDataGrid/Methods/setDataProvider"><code>FDataGrid.setDataProvider</code></a></p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='addItemAt' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.addItemAt(<code>index</code>, <code>object</code>)</p></SECTION>
							<SECTION name='Parameters'><p><code>index</code> An integer.</p><p><code>object</code> A data item object.</p></SECTION>
							<SECTION name='Returns'><p>Nothing.</p></SECTION>
							<SECTION name='Description'><p>Method; adds a data item to the grid at the location specified by the <code>index</code> parameter.</p><p>A data item is an object that can include multiple name-value pairs. The name indicates the column, and the value is the data entered in the specified cell of the column. The following code contains two data items, each with three name-value pairs: </p><p class="codeStyle">var item1 = { From:&quot;Nigel&quot;, Subject:&quot;Getting items is fun!&quot;, Date:&quot;06.09.02&quot; }
var item2 = { From:&quot;Jody&quot;, Subject:&quot;I agree&quot;, Date:&quot;06.09.02&quot; }</p></SECTION>
							<SECTION name='See also'><p><a href="reference:Flash UI DataGrid/FDataGrid/Methods/addItem"><code>FDataGrid.addItem</code></a></p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='alternateRowColors' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.alternateRowColors(<code>color1</code>, <code>color2</code>)</p></SECTION>
							<SECTION name='Parameters'><p><code>color1</code> A hexadecimal column value such as </p><p><code>color2</code> A hexadecimal value such as .</p></SECTION>
							<SECTION name='Returns'><p>Nothing.</p></SECTION>
							<SECTION name='Description'><p>Method; sets the colors of alternating rows. This method overrides any formatting created with the FStyleFormat object.</p></SECTION>
							<SECTION name='Example'><p>The following example configures a grid with alternating row colors:</p><p class="codeStyle">function configureGrid() {
	grid.alternateRowColors(0xFFFFFF, 0xCCCCCC);
	grid.getColumnAt(0).setWidth(40);
	grid.getColumnAt(2).setWidth(40);
}
</p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='getColumnAt' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.getColumnAt(<code>index</code>)</p></SECTION>
							<SECTION name='Parameters'><p><code>index</code> An integer.</p></SECTION>
							<SECTION name='Returns'><p>An FGridColumn object.</p></SECTION>
							<SECTION name='Description'><p>Method; returns the FGridColumn object at the column specified by the <code>index</code> parameter.</p></SECTION>
							<SECTION name='Example'><p>The following example uses <code>FDataGrid.getColumnAt</code> to set the width of two columns in a grid:</p><p class="codeStyle">function configureGrid() {
	grid.alternateRowColors(0xFFFFFF, 0xCCCCCC);
	grid.getColumnAt(0).setWidth(40);
	grid.getColumnAt(2).setWidth(40);
}
</p></SECTION>
							<SECTION name='See also'><p><a href="reference:Flash UI DataGrid/FGridColumn/Methods/getHeader">FGridColumn.getHeader</a></p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='getColumnCount' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.getColumnCount()</p></SECTION>
							<SECTION name='Parameters'><p>None.</p></SECTION>
							<SECTION name='Returns'><p>An integer.</p></SECTION>
							<SECTION name='Description'><p>Method; returns the total number of columns in the grid.</p></SECTION>
							<SECTION name='See also'><p><a href="reference:Flash UI DataGrid/FDataGrid/Methods/getColumnIndex"><code>FDataGrid.getColumnIndex</code></a></p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='getColumnIndex' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.getColumnIndex(<code>name</code>)</p></SECTION>
							<SECTION name='Parameters'><p><code>name</code> A string.</p></SECTION>
							<SECTION name='Returns'><p>An integer.</p></SECTION>
							<SECTION name='Description'><p>Method; returns the index number of the column name specified by the <code>name</code> parameter.</p></SECTION>
							<SECTION name='See also'><p><a href="reference:Flash UI DataGrid/FDataGrid/Methods/getColumnCount"><code>FDataGrid.getColumnCount</code></a></p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='getEnabled' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.getEnabled()</p></SECTION>
							<SECTION name='Parameters'><p>None.</p></SECTION>
							<SECTION name='Returns'><p>A Boolean value: <code>true</code> if the data grid is enabled, <code>false</code> otherwise.</p></SECTION>
							<SECTION name='Description'><p>Method; indicates whether the data grid is enabled.</p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='getItemAt' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.getItemAt(<code>index</code>)</p></SECTION>
							<SECTION name='Parameters'><p><code>index</code> An integer.</p></SECTION>
							<SECTION name='Returns'><p>A data item.</p></SECTION>
							<SECTION name='Description'><p>Method; returns the data item at the specified index.</p></SECTION>
							<SECTION name='Example'><p>A data item is an object that can include multiple name-value pairs. The name indicates the column, and the value is the data entered in the specified cell of the column. The following code contains two data items, each with three name-value pairs: </p><p class="codeStyle">var item1= { From:&quot;Nigel&quot;, Subject:&quot;Getting items is fun!&quot;, Date:&quot;06.09.02&quot; }
var item2= { From:&quot;Jody&quot;, Subject:&quot;I agree&quot;, Date:&quot;06.09.02&quot; }</p><p>If the data grid <code>myGrid</code> is filled with data from the items above, the following code returns :</p><p class="codeStyle">myGrid.getItemAt(0);</p></SECTION>
							<SECTION name='See also'><p><a href="reference:Flash UI DataGrid/FDataGrid/Methods/addItem"><code>FDataGrid.addItem</code></a>, <a href="reference:Flash UI DataGrid/FDataGrid/Methods/addItemAt"><code>FDataGrid.addItemAt</code></a></p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='getLength' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.getLength()</p></SECTION>
							<SECTION name='Parameters'><p>None.</p></SECTION>
							<SECTION name='Returns'><p>An integer.</p></SECTION>
							<SECTION name='Description'><p>Method; returns the number of data items in the grid.</p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='getOriginalCellData' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.getOriginalCellData()</p></SECTION>
							<SECTION name='Parameters'><p>None.</p></SECTION>
							<SECTION name='Returns'><p>A data item. </p></SECTION>
							<SECTION name='Description'><p>Method; returns the original data displayed in the last edited cell.</p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='getRowCount' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.getRowCount()</p></SECTION>
							<SECTION name='Parameters'><p>None.</p></SECTION>
							<SECTION name='Returns'><p>An integer.</p></SECTION>
							<SECTION name='Description'><p>Method; gets the number of rows in the data grid.</p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='getScrollPosition' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.getScrollPosition()</p></SECTION>
							<SECTION name='Parameters'><p>None.</p></SECTION>
							<SECTION name='Returns'><p>An integer.</p></SECTION>
							<SECTION name='Description'><p>Method; returns the current scroll position.</p></SECTION>
							<SECTION name='See also'><p><a href="reference:Flash UI DataGrid/FDataGrid/Methods/setScrollPosition"><code>FDataGrid.setScrollPosition</code></a></p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='getSelectedCell' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.getSelectedCell()</p></SECTION>
							<SECTION name='Parameters'><p>None.</p></SECTION>
							<SECTION name='Returns'><p>An object with the properties <code>index</code> (an integer) and <code>colName</code> (a string).</p></SECTION>
							<SECTION name='Description'><p>Method; specifies the row index and the column name of the last selected cell if the data grid is editable.</p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='getSelectedIndex' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.getSelectedIndex()</p></SECTION>
							<SECTION name='Parameters'><p>None.</p></SECTION>
							<SECTION name='Returns'><p>An integer.</p></SECTION>
							<SECTION name='Description'><p>Method; returns the index of the data item that is currently selected.</p></SECTION>
							<SECTION name='Example'><p>A data item is an object that can include multiple name-value pairs. The name indicates the column, and the value is the data entered in the specified cell of the column. The following code contains two data items, each with three name-value pairs: </p><p class="codeStyle">myDP[0] = { From:&quot;Nigel&quot;, Subject:&quot;Getting items is fun!&quot;, Date:&quot;06.09.02&quot; }
myDP[1] = { From:&quot;Jody&quot;, Subject:&quot;I agree&quot;, Date:&quot;06.09.02&quot; }</p><p>For example, if the cell containing the value &quot;I agree&quot; was selected, a call to  would return the index 1.</p></SECTION>
							<SECTION name='See also'><p><a href="reference:Flash UI DataGrid/FDataGrid/Methods/getSelectedIndices"><code>FDataGrid.getSelectedIndices</code></a></p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='getSelectedIndices' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.getSelectedIndices()</p></SECTION>
							<SECTION name='Parameters'><p>None.</p></SECTION>
							<SECTION name='Returns'><p>An array.</p></SECTION>
							<SECTION name='Description'><p>Method; returns an array of indexes corresponding to the selected items.</p></SECTION>
							<SECTION name='Example'><p>A data item is an object that can include multiple name-value pairs. The name indicates the column, and the value is the data entered in the specified cell of the column. The following code contains two data items, each with three name-value pairs: </p><p class="codeStyle">myDP[0] = { From:&quot;Nigel&quot;, Subject:&quot;Getting items is fun!&quot;, Date:&quot;06.09.02&quot; }
myDP[1] = { From:&quot;Jody&quot;, Subject:&quot;I agree&quot;, Date:&quot;06.09.02&quot; }</p><p>Users can select multiple rows in a data grid. If both of the above rows were selected, a call to  would return an array with the values 0 and 1.</p></SECTION>
							<SECTION name='See also'><p><a href="reference:Flash UI DataGrid/FDataGrid/Methods/getSelectedIndex"><code>FDataGrid.getSelectedIndex</code></a></p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='getSelectedItem' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.getSelectedItem()</p></SECTION>
							<SECTION name='Parameters'><p>None.</p></SECTION>
							<SECTION name='Returns'><p>A data item.</p></SECTION>
							<SECTION name='Description'><p>Method; returns the item that is currently selected.</p><p>A data item is an object that can include multiple name-value pairs. The name indicates the column, and the value is the data entered in the specified cell of the column. The following is a data item with two name-value pairs: </p><p class="codeStyle">var dataItem = { From:&quot;Nigel&quot;, Subject:&quot;Getting items is fun!&quot; }</p></SECTION>
							<SECTION name='Example'><p>The following code is a function called <code>chooseSample</code> which is called when a user selects an item in a grid. The <code>FDataGrid.getSelectedItem</code> method is called inside the function and the result is assigned to the variable <code>itm</code>. Two properties of <code>itm</code>, <code>Description</code> and <code>Link</code>, are used to display a description of the sample and to add a link from which to download the sample file. </p><p class="codeStyle">function chooseSample(grid){
	var itm = grid.getSelectedItem();
	bodyText.htmlText = itm.Description;
	fileName_txt.text = itm.Link;
}</p></SECTION>
							<SECTION name='See also'><p><a href="reference:Flash UI DataGrid/FDataGrid/Methods/getSelectedItems"><code>FDataGrid.getSelectedItems</code></a></p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='getSelectedItems' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.getSelectedItems()</p></SECTION>
							<SECTION name='Parameters'><p>None.</p></SECTION>
							<SECTION name='Returns'><p>An array.</p></SECTION>
							<SECTION name='Description'><p>Method; returns an array of the items that are currently selected.</p><p>A data item is an object that can include multiple name-value pairs. The name indicates the column, and the value is the data entered in the specified cell of the column. The following code contains two data items, each with three name-value pairs: </p><p class="codeStyle">myDP[0] = { From:&quot;Nigel&quot;, Subject:&quot;Getting items is fun!&quot;, Date:&quot;06.09.02&quot; }
myDP[1] = { From:&quot;Jody&quot;, Subject:&quot;I agree&quot;, Date:&quot;06.09.02&quot; }</p></SECTION>
							<SECTION name='See also'><p><a href="reference:Flash UI DataGrid/FDataGrid/Methods/getSelectedItem"><code>FDataGrid.getSelectedItem</code></a></p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='removeAllColumns' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.removeAllColumns()</p></SECTION>
							<SECTION name='Parameters'><p>None.</p></SECTION>
							<SECTION name='Returns'><p>Nothing. </p></SECTION>
							<SECTION name='Description'><p>Method; removes all the columns from the data grid but does not remove the data.</p></SECTION>
							<SECTION name='Example'><p>The following function removes all data and columns from a grid:</p><p class="codeStyle">function removeEverything() {
	grid.removeAllItems();
	grid.removeAllColumns();
}</p></SECTION>
							<SECTION name='See also'><p><a href="reference:Flash UI DataGrid/FDataGrid/Methods/removeColumnAt"><code>FDataGrid.removeColumnAt</code></a></p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='removeAllItems' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.removeAllItems()</p></SECTION>
							<SECTION name='Parameters'><p>None.</p></SECTION>
							<SECTION name='Returns'><p>Nothing. </p></SECTION>
							<SECTION name='Description'><p>Method; removes all data items from the data grid.</p></SECTION>
							<SECTION name='Example'><p>The following function removes all data and columns from a grid:</p><p class="codeStyle">function removeEverything() {
	grid.removeAllItems();
	grid.removeAllColumns();
}</p></SECTION>
							<SECTION name='See also'><p><a href="reference:Flash UI DataGrid/FDataGrid/Methods/removeItemAt"><code>FDataGrid.removeItemAt</code></a>, <a href="reference:Flash UI DataGrid/FDataGrid/Methods/replaceItemAt"><code>FDataGrid.replaceItemAt</code></a></p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='removeColumnAt' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.removeColumnAt(<code>index</code>)</p></SECTION>
							<SECTION name='Parameters'><p><code>index</code> An integer.</p></SECTION>
							<SECTION name='Returns'><p>The deleted column. </p></SECTION>
							<SECTION name='Description'><p>Method; removes an FGridColumn object at the position specified by the <code>index</code> parameter.</p></SECTION>
							<SECTION name='See also'><p><a href="reference:Flash UI DataGrid/FDataGrid/Methods/removeAllColumns"><code>FDataGrid.removeAllColumns</code></a></p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='removeItemAt' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.removeItemAt(<code>index</code>)
</p></SECTION>
							<SECTION name='Parameters'><p><code>index</code> An integer that specifies the item to remove.</p></SECTION>
							<SECTION name='Returns'><p>The deleted item. </p></SECTION>
							<SECTION name='Description'><p>Method; removes the data item at the position specified by the <code>index</code> parameter.</p><p>A data item is an object that can include multiple name-value pairs. The name indicates the column, and the value is the data entered in the specified cell of the column. The following code contains two data items, each with three name-value pairs: </p><p class="codeStyle">myDP[0] = { From:&quot;Nigel&quot;, Subject:&quot;Getting items is fun!&quot;, Date:&quot;06.09.02&quot; }
myDP[1] = { From:&quot;Jody&quot;, Subject:&quot;I agree&quot;, Date:&quot;06.09.02&quot; }</p></SECTION>
							<SECTION name='See also'><p><a href="reference:Flash UI DataGrid/FDataGrid/Methods/removeAllItems"><code>FDataGrid.removeAllItems</code></a></p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='replaceItemAt' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.replaceItemAt(<code>item</code><code>, </code><code>index</code>)</p></SECTION>
							<SECTION name='Parameters'><p><code>item </code>A data item that replaces the item at the specified index.</p><p><code>index</code> An integer that specifies the item to remove.</p></SECTION>
							<SECTION name='Returns'><p>Nothing. </p></SECTION>
							<SECTION name='Description'><p>Method; replaces the data item at the specified index.</p><p>A data item is an object that can include multiple name-value pairs. The name indicates the column, and the value is the data entered in the specified cell of the column. The following code contains two data items, each with three name-value pairs: </p><p class="codeStyle">myDP[0] = { From:&quot;Nigel&quot;, Subject:&quot;Getting items is fun!&quot;, Date:&quot;06.09.02&quot; }
myDP[1] = { From:&quot;Jody&quot;, Subject:&quot;I agree&quot;, Date:&quot;06.09.02&quot; }</p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='setCellData' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.setCellData<code>(</code><code>index</code><code>, </code><code>colName</code><code>, </code><code>data</code><code>)</code></p></SECTION>
							<SECTION name='Parameters'><p><code>index</code> An integer.</p><p><code>colName</code></p><p><code>data</code></p></SECTION>
							<SECTION name='Returns'><p>Nothing. </p></SECTION>
							<SECTION name='Description'><p>Method; replaces the data at the specified cell.</p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='setChangeHandler' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstanc</code>e.setChangeHandler(<code>funcName</code><code>, </code><code>obj</code>)</p></SECTION>
							<SECTION name='Parameters'><p><code>funcName</code> The name of a function.</p><p><code>obj</code> The object that the specified function belongs to. The default value is <code>_parent</code>. This parameter is optional.</p></SECTION>
							<SECTION name='Returns'><p>Nothing. </p></SECTION>
							<SECTION name='Description'><p>Method; sets the function that is called when the user makes a selection in the data grid.</p></SECTION>
							<SECTION name='Example'><p>The following example sets the change handler for the data grid instance <code>grid</code> to the function <code>chooseSample</code>. When a sample is chosen from a list in the grid, a description of the sample and a link to download the sample are displayed.</p><p class="codeStyle">grid.setChangeHandler(&quot;chooseSample&quot;);

function chooseSample(grid){
	var itm = grid.getSelectedItem();
	bodyText.htmlText = itm.Description;
	fileName_txt.text = itm.Link;
}
</p></SECTION>
							<SECTION name='See also'><p><a href="reference:Flash UI DataGrid/FDataGrid/Methods/setEditHandler"><code>FDataGrid.setEditHandler</code></a></p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='setColumns' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.setColumns<code>(</code><code>colNme1</code>, <code>colNme2</code>...)</p></SECTION>
							<SECTION name='Parameters'><p><code>colNme1</code> A string.</p><p><code>colNme2</code></p></SECTION>
							<SECTION name='Returns'><p>Nothing. </p></SECTION>
							<SECTION name='Description'><p>Method; creates FGridColumn objects in the order specified by the parameters. If you don&apos;t create columns before you set a data provider, each name-value pair creates a column. Use <code>FDataGrid.setColumns</code> if you want to create your own columns so that you don&apos;t have to display all the data in an application.</p></SECTION>
							<SECTION name='Example'><p>The following code creates three columns with the names &quot;Name&quot;, &quot;Size&quot;, and &quot;Date&quot;:</p><p class="codeStyle">grid.setColumns(&quot;Name&quot;, &quot;Size&quot;, &quot;Date&quot;);</p></SECTION>
							<SECTION name='See also'><p><a href="reference:Flash UI DataGrid/FGridColumn/Methods/getHeader">FGridColumn.getHeader</a>, <a href="reference:Flash UI DataGrid/FDataGrid/Methods/setDataProvider"><code>FDataGrid.setDataProvider</code></a></p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='setDataProvider' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.setDataProvider(<code>dataProvider</code>)</p></SECTION>
							<SECTION name='Parameters'><p><code>dataProvider</code> An object that specifies a data provider. This object can be a recordset returned from a Flash Remoting function call, an array, or an instance of the DataProvider class. For information about Flash Remoting, see the Flash Remoting website.</p></SECTION>
							<SECTION name='Returns'><p>Nothing. </p></SECTION>
							<SECTION name='Description'><p>Method; specifies the data provider from which to obtain data for the grid. Whether the data provider is a Flash Remoting recordset, an array, or an instance of the DataProvider class, the data in Flash is in the following format, where <code>myDP</code> is the <code>dataProvider</code> parameter for the <code>FDataGrid.setDataProvider</code> method:</p><p class="codeStyle">myDP[0] = { From:&quot;Nigel&quot;, Subject:&quot;Getting items is fun!&quot;, Date:&quot;06.09.02&quot; }
myDP[1] = { From:&quot;Jody&quot;, Subject:&quot;I agree&quot;, Date:&quot;06.09.02&quot; }</p><p>If you don&apos;t set up grid columns before you call this method, the 0th element of the data provider array is used to create the columns of the grid. If you do set up columns before you call this method, the column headers are filled with the names that match the property names in the data provider array (unless you use <a href="reference:Flash UI DataGrid/FGridColumn/Methods/setHeader"><code>FGridColumn.setHeader</code></a> to specify different headers). For example, unless different columns and headers are set up, the data provider <code>myDP</code> would create three columns with the headings &quot;From&quot;, &quot;Subject&quot;, and &quot;Date&quot;, as follows:</p><p class="codeStyle">myDP[0] = { From:&quot;Nigel&quot;, Subject:&quot;Getting items is fun!&quot;, Date:&quot;06.09.02&quot; }
myDP[1] = { From:&quot;Jody&quot;, Subject:&quot;I agree&quot;, Date:&quot;06.09.02&quot; }</p><p>Flash creates the rows of a data grid by displaying each item of data. An item of data consists of the contents of each array element-that is, everything between <code>{</code> and <code>}</code>. The data provider <code>myDP</code> would generate two rows, one for each of its elements, and fill in the cells under each column with the value of each property. For example, row 1 reads &quot;Nigel&quot;, &quot;Getting items is fun!&quot;, &quot;06.09.02&quot;. Row 2 reads &quot;Jody&quot;, &quot;I agree&quot;, &quot;06.09.02&quot;. </p><p>If you want to create a grid with hidden columns (for example, a message ID), set up the columns in the grid before you call the <code>FDataGrid.setDataProvider</code> method, and don&apos;t create a column for the name-value pair that you don&apos;t want to display. For example, each element of the following data provider object <code>myData</code> also contains the property <code>Msg_ID</code>. If you write the code <code>grid.setColumns(&quot;From&quot;, &quot;Subject&quot;, &quot;Date&quot;) </code>to create grid columns named &quot;From&quot;, &quot;Subject&quot;, and &quot;Date&quot;, but do not create a column named &quot;Msg_ID&quot;, the values of <code>Msg_ID</code> in the following data items do not display.</p><p class="codeStyle">myData[0] = { From:&quot;Nigel&quot;, Subject:&quot;Getting items is fun!&quot;, Date:&quot;06.09.02&quot;, Msg_ID:&quot;106_a&quot;}
myData[1] = { From:&quot;Jody&quot;, Subject:&quot;I agree&quot;, Date:&quot;06.09.02&quot;, Msg_ID:&quot;213_d&quot;}</p></SECTION>
							<SECTION name='Example'><p>The following example defines a local data set <code>dP</code> within a function called <code>setData</code>. An instance of the FDataGrid component, named <code>grid</code>, is on the Stage. The last line of code in the function calls the <code>setDataProvider</code> method of the <code>grid</code> instance and passes it the parameter <code>dP</code>.</p><p class="codeStyle">function setData(){
	// create a named array that is filled with 30 rows of data
	var dP = new Array();	
	for (var i=0; i&lt;30; i++) {
		dP[i] = {first:&quot;first&quot;, second:&quot;second&quot;, nuts:&quot;nuts&quot;,one:&quot;one:&quot;+i, two:&quot;two:&quot;+i, three:&quot;three:&quot;+i, four:&quot;four:&quot;+i};
	}
	// call setDataProvider to create columns, name them, 
	// and fill the rows with data
	grid.setDataProvider(dP);
}</p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='setEditHandler' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.setEditHandler(<code>funcName</code><code>,</code><code> obj</code>)</p></SECTION>
							<SECTION name='Parameters'><p><code>funcName</code> A string that indicates the name of a function.</p><p><code>obj</code> The object that the specified function belongs to. The default value is <code>_parent</code>.</p></SECTION>
							<SECTION name='Returns'><p>Nothing. </p></SECTION>
							<SECTION name='Description'><p>Method; sets the function that is called when a user has edited a cell. The function should have the following three parameters: </p><p><code>grid</code> The data grid instance.</p><p><code>index </code>The row position.</p><p><code>colName</code> The name of the column.</p></SECTION>
							<SECTION name='Example'><p>The following example defines a function called <code>onEdit</code> that sends information to the Output window about which cell was edited and what the original cell data was:</p><p class="codeStyle">myGrid.setEditHandler(&quot;onEdit&quot;, _root);
function onEdit(grid, index, colName) {
	trace(&quot;cell row &quot; + index + &quot; and column name &quot; + colName + &quot; was edited.&quot;);
	trace(grid.getOriginalCellData());
}</p></SECTION>
							<SECTION name='See also'><p><a href="reference:Flash UI DataGrid/FDataGrid/Methods/setChangeHandler"><code>FDataGrid.setChangeHandler</code></a></p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='setEditable' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.setEditable(<code>trueOrFalse</code>)</p></SECTION>
							<SECTION name='Parameters'><p><code>trueOrFalse</code> A Boolean value: <code>true</code> indicates that the grid is editable. The default value is <code>false</code>.</p></SECTION>
							<SECTION name='Returns'><p>Nothing. </p></SECTION>
							<SECTION name='Description'><p>Method; allows users to edit data in the grid. You can use this method to make the entire grid editable, and then you can use <a href="reference:Flash UI DataGrid/FGridColumn/Methods/setEditable"><code>FGridColumn.setEditable</code></a> to make individual columns uneditable.</p></SECTION>
							<SECTION name='See also'><p><a href="reference:Flash UI DataGrid/FGridColumn/Methods/setEditable"><code>FGridColumn.setEditable</code></a></p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='setEnabled' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.setEnabled(<code>trueOrFalse</code>)</p></SECTION>
							<SECTION name='Parameters'><p><code>trueOrFalse</code>  A Boolean value. The default value is <code>true</code>.</p></SECTION>
							<SECTION name='Returns'><p>Nothing. </p></SECTION>
							<SECTION name='Description'><p>Method; enables or disables the data grid. For example, if you display a dialog box or window over a grid, you may want to disable the grid.</p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='setResizableColumns' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.setResizableColumns(<code>trueOrFalse</code>)</p></SECTION>
							<SECTION name='Parameters'><p><code>trueOrFalse</code> A Boolean value.</p></SECTION>
							<SECTION name='Returns'><p>Nothing. </p></SECTION>
							<SECTION name='Description'><p>Method; allows users to resize columns. The default value is <code>true</code>.</p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='setRowCount' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.setRowCount(<code>rows</code>)</p></SECTION>
							<SECTION name='Parameters'><p><code>rows</code> An integer.</p></SECTION>
							<SECTION name='Returns'><p>Nothing. </p></SECTION>
							<SECTION name='Description'><p>Method; sets the height of the data grid, based on the number of rows.</p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='setRowHeight' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.setRowHeight(<code>height</code>)</p></SECTION>
							<SECTION name='Parameters'><p><code>height</code> An integer.</p></SECTION>
							<SECTION name='Returns'><p>Nothing. </p></SECTION>
							<SECTION name='Description'><p>Method; sets the minimum row height (fonts larger than <code>height</code> will increase the row height).</p></SECTION>
							<SECTION name='See also'><p><a href="reference:Flash UI DataGrid/FDataGrid/Methods/setRowCount"><code>FDataGrid.setRowCount</code></a></p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='setScrollPosition' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.setScrollPosition(<code>index</code>)</p></SECTION>
							<SECTION name='Parameters'><p><code>index</code> An integer.</p></SECTION>
							<SECTION name='Returns'><p>Nothing. </p></SECTION>
							<SECTION name='Description'><p>Method; sets the scroll position (the index of the item in the top row).</p></SECTION>
							<SECTION name='See also'><p><a href="reference:Flash UI DataGrid/FDataGrid/Methods/getScrollPosition"><code>FDataGrid.getScrollPosition</code></a></p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='setSelectable' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.setSelectable(<code>trueOrFalse</code>)</p></SECTION>
							<SECTION name='Parameters'><p><code>trueOrFalse</code> A Boolean value: <code>true</code> if selectable, <code>false</code> otherwise.</p></SECTION>
							<SECTION name='Returns'><p>Nothing.</p></SECTION>
							<SECTION name='Description'><p>Method; allows users to make selections in the data grid. The default value is <code>true</code>.</p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='setSelectedCell' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.setSelectedCell(<code>index</code>, <code>colName</code>)</p></SECTION>
							<SECTION name='Parameters'><p><code>index</code> An integer.</p><p><code>colName</code> The name of the column.</p></SECTION>
							<SECTION name='Returns'><p>Nothing. </p></SECTION>
							<SECTION name='Description'><p>Method; gives keyboard focus to the editable cell at the specified item index and column name in edit mode.</p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='setSelectedIndex' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.setSelectedIndex(<code>index</code>)</p></SECTION>
							<SECTION name='Parameters'><p><code>index</code> An integer.</p></SECTION>
							<SECTION name='Returns'><p>Nothing. </p></SECTION>
							<SECTION name='Description'><p>Method; sets the index of an item to select.</p></SECTION>
							<SECTION name='See also'><p><a href="reference:Flash UI DataGrid/FDataGrid/Methods/setSelectedIndices"><code>FDataGrid.setSelectedIndices</code></a></p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='setSelectedIndices' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.setSelectedIndices(<code>indexArray</code>)</p></SECTION>
							<SECTION name='Parameters'><p><code>indexArray</code> An array.</p></SECTION>
							<SECTION name='Returns'><p>Nothing. </p></SECTION>
							<SECTION name='Description'><p>Method; sets the indexes of the items to select when the grid is set to select multiple rows.</p></SECTION>
							<SECTION name='See also'><p><a href="reference:Flash UI DataGrid/FDataGrid/Methods/setSelectMultiple"><code>FDataGrid.setSelectMultiple</code></a></p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='setSelectMultiple' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.setSelectMultiple(<code>trueOrFalse</code>)</p></SECTION>
							<SECTION name='Parameters'><p><code>trueOrFalse</code> A Boolean value: <code>true</code> if multiple rows are selectable, <code>false</code> otherwise. The default value is <code>false</code>.</p></SECTION>
							<SECTION name='Returns'><p>Nothing. </p></SECTION>
							<SECTION name='Description'><p>Method; specifies whether the user can select multiple rows. </p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='setSize' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.setSize(<code>width</code>, <code>height</code>)</p></SECTION>
							<SECTION name='Parameters'><p><code>width</code> An integer.</p><p><code>height</code> An integer.</p></SECTION>
							<SECTION name='Returns'><p>Nothing. </p></SECTION>
							<SECTION name='Description'><p>Method; sets the pixel width and height of the data grid.</p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='setSortableColumns' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.setSortableColumns(<code>trueOrFalse</code>)</p></SECTION>
							<SECTION name='Parameters'><p><code>trueOrFalse</code> A Boolean value. The default value is <code>true</code>. </p></SECTION>
							<SECTION name='Returns'><p>Nothing. </p></SECTION>
							<SECTION name='Description'><p>Method; allows users to sort columns in a data grid. While the value is <code>true</code>, your application can turn the sorting capability of individual columns off or on using the <code>FGridColumn.setSortable </code>method.</p></SECTION>
							<SECTION name='See also'><p><a href="reference:Flash UI DataGrid/FGridColumn/Methods/setSortable"><code>FGridColumn.setSortable</code></a></p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='setVScroll' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.setVScroll(<code>trueFalseOrAuto</code>)</p></SECTION>
							<SECTION name='Parameters'><p><code>trueFalseOrAuto </code>A Boolean value or the string <code>auto</code>. The default value is <code>true</code>.</p></SECTION>
							<SECTION name='Returns'><p>Nothing. </p></SECTION>
							<SECTION name='Description'><p>Method; shows or hides the vertical scroll bar. You can pass the string <code>auto</code> to show a vertical scroll bar if it is needed. When the <code>trueFalseOrAuto</code> parameter is set to <code>false</code>, scrolling still works.</p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='showBorder' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.showBorder(<code>trueOrFalse</code>)</p></SECTION>
							<SECTION name='Parameters'><p><code>trueOrFalse</code> A Boolean value. The default value is <code>true</code>.</p></SECTION>
							<SECTION name='Returns'><p>Nothing. </p></SECTION>
							<SECTION name='Description'><p>Method; shows or hides the border around the whole grid.</p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='showColumnHeaders' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.showColumnHeaders(<code>trueOrFalse</code>)</p></SECTION>
							<SECTION name='Parameters'><p><code>trueOrFalse</code> A Boolean value. The default value is <code>true</code>.</p></SECTION>
							<SECTION name='Returns'><p>Nothing. </p></SECTION>
							<SECTION name='Description'><p>Method; shows or hides the column headers.</p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='showGridLines' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.showGridLines(<code>trueOrFalse</code>)</p></SECTION>
							<SECTION name='Parameters'><p><code>trueOrFalse</code> A Boolean value. The default value is <code>true</code>.</p></SECTION>
							<SECTION name='Returns'><p>Nothing. </p></SECTION>
							<SECTION name='Description'><p>Method; shows or hides the grid lines.</p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='sort' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.sort(<code>compareFunction</code>)</p></SECTION>
							<SECTION name='Parameters'><p><code>compareFunction</code> A function name.</p></SECTION>
							<SECTION name='Returns'><p>Nothing. </p></SECTION>
							<SECTION name='Description'><p>Method; sorts the grid according to a comparison function.</p></SECTION>
							<SECTION name='See also'><p><a href="reference:Flash UI DataGrid/FDataGrid/Methods/sortItemsBy"><code>FDataGrid.sortItemsBy</code></a></p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='sortItemsBy' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.sortItemsBy(<code>columnName</code>, <code>direction</code>)</p></SECTION>
							<SECTION name='Parameters'><p><code>columnName</code></p><p><code>direction</code> The string <code>asc</code> (ascending) or <code>desc</code> (descending). The default value is <code>asc</code>.</p></SECTION>
							<SECTION name='Returns'><p>Nothing. </p></SECTION>
							<SECTION name='Description'><p>Method; sorts the items in the grid by column name and direction.</p></SECTION>
							<SECTION name='See also'><p><a href="reference:Flash UI DataGrid/FDataGrid/Methods/sort"><code>FDataGrid.sort</code></a></p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='spaceColumnsEqually' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>dataGridInstance</code>.spaceColumnsEqually()</p></SECTION>
							<SECTION name='Parameters'><p>None.</p></SECTION>
							<SECTION name='Returns'><p>Nothing. </p></SECTION>
							<SECTION name='Description'><p>Method; sizes the columns equally to fill the width of the data grid.</p></SECTION>
						</DOCUMENTATION>
					</ITEM>
				</GROUP>
				<GROUP NAME='Properties'>
				</GROUP>
				<GROUP NAME='Events'>
				</GROUP>
			</GROUPS>
		</ELEMENT>
		<ELEMENT hiliteColor='FF9900' height='250' width='185' y='0' x='0' name='FGridColumn' type='class'>
			<GROUPS>
				<GROUP NAME='Methods'>
					<ITEM name='getHeader' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>gridColumnInstance</code>.getHeader()</p></SECTION>
							<SECTION name='Parameters'><p>None.</p></SECTION>
							<SECTION name='Returns'><p>A string.</p></SECTION>
							<SECTION name='Description'><p>Method; gets the header text of a column.</p></SECTION>
							<SECTION name='See also'><p><a href="reference:Flash UI DataGrid/FGridColumn/Methods/setHeader"><code>FGridColumn.setHeader</code></a></p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='getWidth' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>gridColumnInstance</code>.getWidth()</p></SECTION>
							<SECTION name='Parameters'><p>None.</p></SECTION>
							<SECTION name='Returns'><p>An integer. </p></SECTION>
							<SECTION name='Description'><p>Method; gets the width of the column, in pixels.</p></SECTION>
							<SECTION name='See also'><p><a href="reference:Flash UI DataGrid/FGridColumn/Methods/setWidth"><code>FGridColumn.setWidth</code></a></p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='setCellSymbol' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>gridColumnInstance</code>.setCellSymbol(<code>linkID</code>)</p></SECTION>
							<SECTION name='Parameters'><p><code>linkID</code> A movie clip&apos;s symbol linkage ID.</p></SECTION>
							<SECTION name='Returns'><p>Nothing. </p></SECTION>
							<SECTION name='Description'><p>Method; chooses an external movie clip to be used as a display for the column data.</p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='setEditable' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>gridColumnInstance</code>.setEditable(<code>trueOrFalse</code>)</p></SECTION>
							<SECTION name='Parameters'><p><code>trueOrFalse</code> A Boolean value.</p></SECTION>
							<SECTION name='Returns'><p>Nothing. </p></SECTION>
							<SECTION name='Description'><p>Method; makes a column uneditable. First make the whole grid editable by calling <a href="reference:Flash UI DataGrid/FDataGrid/Methods/setEditable"><code>FDataGrid.setEditable</code></a>; then call <code>FGridColumn.setEditable(false)</code> to make an individual column uneditable.</p></SECTION>
							<SECTION name='See also'><p><a href="reference:Flash UI DataGrid/FDataGrid/Methods/setEditable"><code>FDataGrid.setEditable</code></a></p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='setHeader' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>gridColumnInstance</code>.setHeader(<code>text</code>)</p></SECTION>
							<SECTION name='Parameters'><p><code>text</code> A string.</p></SECTION>
							<SECTION name='Returns'><p>Nothing. </p></SECTION>
							<SECTION name='Description'><p>Method; sets the text to appear in the column header. The default text is the column name.</p></SECTION>
							<SECTION name='See also'><p><a href="reference:Flash UI DataGrid/FGridColumn/Methods/getHeader"><code>FGridColumn.getHeader</code></a></p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='setHeaderSymbol' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>gridColumnInstance</code>.setHeaderSymbol(<code>linkID</code>)</p></SECTION>
							<SECTION name='Parameters'><p><code>linkID</code> A movie clip&apos;s symbol linkage ID.</p></SECTION>
							<SECTION name='Returns'><p>Nothing. </p></SECTION>
							<SECTION name='Description'><p>Method; sets a movie clip as a substitute header for the column.</p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='setResizable' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>gridColumnInstance</code>.setResizable(<code>trueOrFalse</code>)</p></SECTION>
							<SECTION name='Parameters'><p><code>trueOrFalse</code> A Boolean value.</p></SECTION>
							<SECTION name='Returns'><p>Nothing. </p></SECTION>
							<SECTION name='Description'><p>Method; specifies whether the column can be resized.</p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='setSortable' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>gridColumnInstance</code>.setSortable(<code>trueOrFalse</code>)</p></SECTION>
							<SECTION name='Parameters'><p><code>trueOrFalse</code> A Boolean value.</p></SECTION>
							<SECTION name='Returns'><p>Nothing. </p></SECTION>
							<SECTION name='Description'><p>Method; specifies whether the column header is a button that the user can click to sort the column.</p></SECTION>
							<SECTION name='See also'><p><a href="reference:Flash UI DataGrid/FGridColumn/Methods/setSortFunction"><code>FGridColumn.setSortFunction</code></a></p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='setSortFunction' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>gridColumnInstance</code>.setSortFunction(<code>function</code>)</p></SECTION>
							<SECTION name='Parameters'><p><code>function</code> A reference to a comparison function for sorting the column.</p></SECTION>
							<SECTION name='Returns'><p>Nothing. </p></SECTION>
							<SECTION name='Description'><p>Method; allows you to assign a sort comparison function for a column in the grid. The function, written in the same format as the comparison function for <a href="reference:Flash UI DataGrid/FDataGrid/Methods/sort"><code>FDataGrid.sort</code></a>, is used to sort the grid every time the column header is clicked.</p></SECTION>
							<SECTION name='See also'><p><a href="reference:Flash UI DataGrid/FDataGrid/Methods/sort"><code>FDataGrid.sort</code></a></p></SECTION>
						</DOCUMENTATION>
					</ITEM>
					<ITEM name='setWidth' datatype='' hiliteColor='FFFFFF'>
						<DOCUMENTATION>
							<SECTION name='Availability'><p>Flash Player 6.</p></SECTION>
							<SECTION name='Usage'><p class="codeStyle"><code>gridColumnInstance</code>.setWidth(<code>pixels</code>)</p></SECTION>
							<SECTION name='Parameters'><p><code>pixels</code></p></SECTION>
							<SECTION name='Returns'><p>Nothing. </p></SECTION>
							<SECTION name='Description'><p>Method; sets the width of the column, in pixels.</p></SECTION>
							<SECTION name='See also'><p><a href="reference:Flash UI DataGrid/FGridColumn/Methods/getWidth"><code>FGridColumn.getWidth</code></a></p></SECTION>
						</DOCUMENTATION>
					</ITEM>
				</GROUP>
				<GROUP NAME='Properties'>
				</GROUP>
				<GROUP NAME='Events'>
				</GROUP>
			</GROUPS>
		</ELEMENT>
	</ELEMENTS>
</DIAGRAM>
