<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>FlexOut &#187; datagrid</title>
	<atom:link href="http://flex.exposedout.net/tag/datagrid/feed/" rel="self" type="application/rss+xml" />
	<link>http://flex.exposedout.net</link>
	<description>i am an itemrendrer in the making!</description>
	<lastBuildDate>Fri, 11 Jun 2010 15:54:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Dynamically add remove columns in a datagrid</title>
		<link>http://flex.exposedout.net/2009/07/10/dynamically-add-remove-columns-in-a-datagrid/</link>
		<comments>http://flex.exposedout.net/2009/07/10/dynamically-add-remove-columns-in-a-datagrid/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 14:46:33 +0000</pubDate>
		<dc:creator>Vikram singh</dc:creator>
				<category><![CDATA[flex]]></category>
		<category><![CDATA[datagrid]]></category>

		<guid isPermaLink="false">http://guavus.wordpress.com/?p=25</guid>
		<description><![CDATA[i had a hard time figuring out how to add remove columns  dynamically from a datagrid and after lots of code iterations i have reached a workable scenario. i still need to add other important functionalities. close headerrenderer for each column, delete entire row functionality , user defined default state &#8230; etc check out the [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>i had a hard time figuring out how to add remove columns  dynamically from a datagrid and after lots of code iterations i have reached a workable scenario. i still need to add other important functionalities. close headerrenderer for each column, delete entire row functionality , user defined default state &#8230; etc</p>
<p>check out the code:</p>
<p>will be posting the demo app shortly</p>
<p>(make a new dynamicGridColum.mxml component and add in an application tag)</p>
<p><span id="more-25"></span></p>
<p>&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&gt;</p>
<p>&lt;mx:HDividedBox xmlns:mx=&#8221;http://www.adobe.com/2006/mxml&#8221; height=&#8221;100%&#8221; width=&#8221;100%&#8221;</p>
<p>xmlns:containers=&#8221;framework.view.components.containers.*&#8221;</p>
<p>dividerRelease=&#8221;handleDivderRelease()&#8221;&gt;</p>
<p>&lt;mx<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/confused.gif" style="border:none;background:none;vertical-align:-25%;" alt="confused" />cript&gt;</p>
<p>&lt;![CDATA[</p>
<p>import mx.controls.CheckBox;</p>
<p>import mx.controls.ComboBox;</p>
<p>public var counter : int = 0;</p>
<p>public var conDataProvider : Array =[</p>
<p>{label : "col1", data : "c1"},</p>
<p>{label : "col2", data : "c2"},</p>
<p>{label : "col3", data : "c3"},</p>
<p>{label : "col4", data : "c4"},</p>
<p>{label : "col5", data : "c5"},</p>
<p>{label : "col6", data : "c6"},</p>
<p>private function init():void{</p>
<p>// do something!!</p>
<p>}</p>
<p>private function hideShowColumns():void  {</p>
<p>var actualColumns:Array = ResultGrid.columns;</p>
<p>var actualSelectedColumns:Array =  lstColumns.selectedItems;</p>
<p>var dataGridColumn<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/big_grin.gif" style="border:none;background:none;vertical-align:-25%;" alt="big grin" />ataGridColumn;</p>
<p>var sDataField<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/confused.gif" style="border:none;background:none;vertical-align:-25%;" alt="confused" />tring;</p>
<p>var sDataFieldCur<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/confused.gif" style="border:none;background:none;vertical-align:-25%;" alt="confused" />tring;</p>
<p>var columnVisible<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/nerd.gif" style="border:none;background:none;vertical-align:-25%;" alt="nerd" />oolean</p>
<p>for (var i:int=0;i&lt;actualColumns.length;i++)  {</p>
<p>columnVisible = false</p>
<p>dataGridColumn = actualColumns[i];</p>
<p>sDataField = dataGridColumn.dataField;</p>
<p>for (var j : int = 0; j &lt; actualSelectedColumns.length; j++)  {</p>
<p>if(actualSelectedColumns[j] == null) continue;</p>
<p>sDataFieldCur = actualSelectedColumns[j].data;</p>
<p>if (sDataFieldCur == sDataField)  {</p>
<p>columnVisible = true;</p>
<p>break;</p>
<p>}</p>
<p>}</p>
<p>if (columnVisible) {</p>
<p>dataGridColumn.visible = true;</p>
<p>}</p>
<p>else  {</p>
<p>dataGridColumn.visible = false;</p>
<p>}</p>
<p>}</p>
<p>}</p>
<p>private function selectAll():void{</p>
<p>lstColumns.selectedIndices=[0,1,2,3,4,5];</p>
<p>hideShowColumns();</p>
<p>}</p>
<p>private function clearAll():void{</p>
<p>lstColumns.selectedIndices=[];</p>
<p>hideShowColumns();</p>
<p>}</p>
<p>private function setDefault():void{</p>
<p>lstColumns.selectedIndices=[0,1,2,3];</p>
<p>hideShowColumns();</p>
<p>}</p>
<p>private function handleDivderRelease():void{</p>
<p>if(counter == 0){</p>
<p>controlBox.width =0</p>
<p>}else</p>
<p>if(counter == 1){</p>
<p>controlBox.width =120</p>
<p>}</p>
<p>counter = (counter +1)%2;</p>
<p>}</p>
<p>]]&gt;</p>
<p>&lt;/mx<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/confused.gif" style="border:none;background:none;vertical-align:-25%;" alt="confused" />cript&gt;</p>
<p>&lt;mx:VBox id=&#8221;controlBox&#8221; height=&#8221;100%&#8221; width=&#8221;120&#8243; maxWidth=&#8221;120&#8243;  verticalGap=&#8221;0&#8243; horizontalScrollPolicy=&#8221;off&#8221;&gt;</p>
<p>&lt;mx:Label text=&#8221;Selected columns&#8221; fontWeight=&#8221;bold&#8221; /&gt;</p>
<p>&lt;mx:List height=&#8221;100%&#8221; width=&#8221;120&#8243; id=&#8221;lstColumns&#8221; dataProvider=&#8221;{conDataProvider}&#8221;</p>
<p>labelField=&#8221;label&#8221; borderColor=&#8221;#000000&#8243;</p>
<p>allowMultipleSelection=&#8221;true&#8221; click=&#8221;hideShowColumns()&#8221;</p>
<p>selectedIndices=&#8221;[0,1,2,3]&#8220;/&gt;</p>
<p>&lt;mx:TextArea wordWrap=&#8221;true&#8221; selectable=&#8221;false&#8221; editable=&#8221;false&#8221; borderStyle=&#8221;none&#8221;</p>
<p>text=&#8221;For multiple selection use ctrl/shift keys&#8221; width=&#8221;120&#8243; /&gt;</p>
<p>&lt;mx<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/confused.gif" style="border:none;background:none;vertical-align:-25%;" alt="confused" />pacer height=&#8221;5&#8243; /&gt;</p>
<p>&lt;mx<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/nerd.gif" style="border:none;background:none;vertical-align:-25%;" alt="nerd" />utton label=&#8221;Select All&#8221;  width=&#8221;100%&#8221; click=&#8221;selectAll()&#8221;/&gt;</p>
<p>&lt;mx<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/nerd.gif" style="border:none;background:none;vertical-align:-25%;" alt="nerd" />utton label=&#8221;Default&#8221;  width=&#8221;100%&#8221; click=&#8221;setDefault()&#8221;/&gt;</p>
<p>&lt;mx<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/nerd.gif" style="border:none;background:none;vertical-align:-25%;" alt="nerd" />utton label=&#8221;Clear All&#8221; width=&#8221;100%&#8221; click=&#8221;clearAll()&#8221;/&gt;</p>
<p>&lt;/mx:VBox&gt;</p>
<p>&lt;mx:VBox height=&#8221;100%&#8221; width=&#8221;100%&#8221;&gt;</p>
<p>&lt;mx<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/big_grin.gif" style="border:none;background:none;vertical-align:-25%;" alt="big grin" />ataGrid  height=&#8221;100%&#8221; id=&#8221;ResultGrid&#8221; selectedIndex=&#8221;0&#8243; enabled=&#8221;true&#8221; selectable=&#8221;true&#8221; creationComplete=&#8221;init()&#8221;&gt;</p>
<p>&lt;mx:columns&gt;</p>
<p>&lt;mx<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/big_grin.gif" style="border:none;background:none;vertical-align:-25%;" alt="big grin" />ataGridColumn headerText=&#8221;col1&#8243; dataField=&#8221;c1&#8243; visible=&#8221;true&#8221; /&gt;</p>
<p>&lt;mx<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/big_grin.gif" style="border:none;background:none;vertical-align:-25%;" alt="big grin" />ataGridColumn headerText=&#8221;col2&#8243; dataField=&#8221;c2&#8243; visible=&#8221;true&#8221; /&gt;</p>
<p>&lt;mx<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/big_grin.gif" style="border:none;background:none;vertical-align:-25%;" alt="big grin" />ataGridColumn headerText=&#8221;col3&#8243; dataField=&#8221;c3&#8243; visible=&#8221;true&#8221; /&gt;</p>
<p>&lt;mx<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/big_grin.gif" style="border:none;background:none;vertical-align:-25%;" alt="big grin" />ataGridColumn headerText=&#8221;col4&#8243; dataField=&#8221;c4&#8243; visible=&#8221;true&#8221; /&gt;</p>
<p>&lt;mx<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/big_grin.gif" style="border:none;background:none;vertical-align:-25%;" alt="big grin" />ataGridColumn headerText=&#8221;col5&#8243; dataField=&#8221;c5&#8243; visible=&#8221;false&#8221; /&gt;</p>
<p>&lt;mx<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/big_grin.gif" style="border:none;background:none;vertical-align:-25%;" alt="big grin" />ataGridColumn headerText=&#8221;col6&#8243; dataField=&#8221;c6&#8243; visible=&#8221;false&#8221; /&gt;</p>
<p>&lt;/mx:columns&gt;</p>
<p>&lt;/mx<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/big_grin.gif" style="border:none;background:none;vertical-align:-25%;" alt="big grin" />ataGrid&gt;</p>
<p>&lt;/mx:VBox&gt;</p>
<p>&lt;/mx:HDividedBox&gt;</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fflex.exposedout.net%2F2009%2F07%2F10%2Fdynamically-add-remove-columns-in-a-datagrid%2F&amp;title=Dynamically%20add%20remove%20columns%20in%20a%20datagrid" title="DZone"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fflex.exposedout.net%2F2009%2F07%2F10%2Fdynamically-add-remove-columns-in-a-datagrid%2F&amp;title=Dynamically%20add%20remove%20columns%20in%20a%20datagrid&amp;bodytext=i%20had%20a%20hard%20time%20figuring%20out%20how%20to%20add%20remove%20columns%C2%A0%20dynamically%20from%20a%20datagrid%20and%20after%20lots%20of%20code%20iterations%20i%20have%20reached%20a%20workable%20scenario.%20i%20still%20need%20to%20add%20other%20important%20functionalities.%20close%20headerrenderer%20for%20each%20column%2C%20de" title="Digg"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Dynamically%20add%20remove%20columns%20in%20a%20datagrid%20-%20http%3A%2F%2Fflex.exposedout.net%2F2009%2F07%2F10%2Fdynamically-add-remove-columns-in-a-datagrid%2F" title="Twitter"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fflex.exposedout.net%2F2009%2F07%2F10%2Fdynamically-add-remove-columns-in-a-datagrid%2F&amp;title=Dynamically%20add%20remove%20columns%20in%20a%20datagrid&amp;annotation=i%20had%20a%20hard%20time%20figuring%20out%20how%20to%20add%20remove%20columns%C2%A0%20dynamically%20from%20a%20datagrid%20and%20after%20lots%20of%20code%20iterations%20i%20have%20reached%20a%20workable%20scenario.%20i%20still%20need%20to%20add%20other%20important%20functionalities.%20close%20headerrenderer%20for%20each%20column%2C%20de" title="Google Bookmarks"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fflex.exposedout.net%2F2009%2F07%2F10%2Fdynamically-add-remove-columns-in-a-datagrid%2F" title="Technorati"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fflex.exposedout.net%2F2009%2F07%2F10%2Fdynamically-add-remove-columns-in-a-datagrid%2F&amp;title=Dynamically%20add%20remove%20columns%20in%20a%20datagrid" title="StumbleUpon"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fflex.exposedout.net%2F2009%2F07%2F10%2Fdynamically-add-remove-columns-in-a-datagrid%2F&amp;t=Dynamically%20add%20remove%20columns%20in%20a%20datagrid" title="MySpace"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fflex.exposedout.net%2F2009%2F07%2F10%2Fdynamically-add-remove-columns-in-a-datagrid%2F" title="Sphinn"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fflex.exposedout.net%2F2009%2F07%2F10%2Fdynamically-add-remove-columns-in-a-datagrid%2F&amp;title=Dynamically%20add%20remove%20columns%20in%20a%20datagrid&amp;notes=i%20had%20a%20hard%20time%20figuring%20out%20how%20to%20add%20remove%20columns%C2%A0%20dynamically%20from%20a%20datagrid%20and%20after%20lots%20of%20code%20iterations%20i%20have%20reached%20a%20workable%20scenario.%20i%20still%20need%20to%20add%20other%20important%20functionalities.%20close%20headerrenderer%20for%20each%20column%2C%20de" title="del.icio.us"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fflex.exposedout.net%2F2009%2F07%2F10%2Fdynamically-add-remove-columns-in-a-datagrid%2F&amp;t=Dynamically%20add%20remove%20columns%20in%20a%20datagrid" title="Facebook"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fflex.exposedout.net%2F2009%2F07%2F10%2Fdynamically-add-remove-columns-in-a-datagrid%2F&amp;title=Dynamically%20add%20remove%20columns%20in%20a%20datagrid" title="Reddit"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fflex.exposedout.net%2F2009%2F07%2F10%2Fdynamically-add-remove-columns-in-a-datagrid%2F&amp;title=Dynamically%20add%20remove%20columns%20in%20a%20datagrid" title="Mixx"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a></li>
</ul>
</div>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://flex.exposedout.net/2009/07/10/dynamically-add-remove-columns-in-a-datagrid/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Filter datagrid using a hslider</title>
		<link>http://flex.exposedout.net/2009/01/22/filter-datagrid-using-slider/</link>
		<comments>http://flex.exposedout.net/2009/01/22/filter-datagrid-using-slider/#comments</comments>
		<pubDate>Thu, 22 Jan 2009 13:53:08 +0000</pubDate>
		<dc:creator>Vikram singh</dc:creator>
				<category><![CDATA[flex]]></category>
		<category><![CDATA[datagrid]]></category>
		<category><![CDATA[filter]]></category>
		<category><![CDATA[hslider]]></category>

		<guid isPermaLink="false">http://guavus.wordpress.com/?p=189</guid>
		<description><![CDATA[Here is an example of Data grid filtered using a H slider  with 2 thumbs to select the range of date for which to  filter the data grid. The combo box is used to select the specific column on which the filter has to be applied to. The check box is used to either enable [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Here is an example of Data grid filtered using a H slider  with 2 thumbs to select the range of date for which to  filter the data grid. The combo box is used to select the specific column on which the filter has to be applied to. The check box is used to either enable or disable the filter functionality.</p>
<p><strong>Screenshot</strong>:</p>
<p><img class="aligncenter size-full wp-image-190" title="testfilterdg" src="http://guavus.files.wordpress.com/2009/01/testfilterdg.jpg" alt="testfilterdg" width="480" height="239" /></p>
<p>For <strong>source </strong>please read the complete article<span id="more-189"></span></p>
<blockquote><p>&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&gt;<br />
&lt;mx:Application xmlns:mx=&#8221;http://www.adobe.com/2006/mxml&#8221;<br />
layout=&#8221;vertical&#8221;<br />
height=&#8221;300&#8243; width=&#8221;600&#8243;<br />
backgroundColor=&#8221;white&#8221;<br />
creationComplete=&#8221;init();&#8221;&gt;</p>
<p>&lt;mx<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/confused.gif" style="border:none;background:none;vertical-align:-25%;" alt="confused" />cript&gt;<br />
&lt;![CDATA[<br />
import mx.events.SliderEvent;</p>
<p>private function init():void {<br />
if (checkBox.selected) {<br />
arrColl.filterFunction = sliderFilterFunc;<br />
arrColl.refresh();<br />
}<br />
}<br />
private var comb : Array = [{label:"value1",data:0},<br />
{label:"value2",data:1},<br />
{label:"value3",data:2}];</p>
<p>private function checkBox_change(evt:Event):void {<br />
if (checkBox.selected) {<br />
arrColl.filterFunction = sliderFilterFunc;<br />
} else {<br />
arrColl.filterFunction = null;<br />
}<br />
arrColl.refresh();<br />
}</p>
<p>private function slider_change(evt<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/confused.gif" style="border:none;background:none;vertical-align:-25%;" alt="confused" />liderEvent):void {<br />
arrColl.refresh();<br />
}</p>
<p>private function sliderFilterFunc(item<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/surprise.gif" style="border:none;background:none;vertical-align:-25%;" alt="surprise" />bject)<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/nerd.gif" style="border:none;background:none;vertical-align:-25%;" alt="nerd" />oolean {<br />
var bool<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/nerd.gif" style="border:none;background:none;vertical-align:-25%;" alt="nerd" />oolean;<br />
switch(vx.selectedItem.data){<br />
case 0:<br />
bool = checkData(item.value1);<br />
break;<br />
case 1:<br />
bool = checkData(item.value2);<br />
break;<br />
case 2:<br />
bool = checkData(item.value3);<br />
break;<br />
}<br />
return bool;<br />
}</p>
<p>private function checkData(num:Number)<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/nerd.gif" style="border:none;background:none;vertical-align:-25%;" alt="nerd" />oolean{<br />
var minSlider:Number = slider.values[0];<br />
var maxSlider:Number = slider.values[1];<br />
if ((num &gt;= minSlider)&amp;&amp;(num &lt;= maxSlider))<br />
return true;<br />
else<br />
return false;</p>
<p>}</p>
<p>]]&gt;<br />
&lt;/mx<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/confused.gif" style="border:none;background:none;vertical-align:-25%;" alt="confused" />cript&gt;</p>
<p>&lt;mx:ArrayCollection id=&#8221;arrColl&#8221;&gt;<br />
&lt;mx<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/confused.gif" style="border:none;background:none;vertical-align:-25%;" alt="confused" />ource&gt;<br />
&lt;mx:Array&gt;<br />
&lt;mx<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/surprise.gif" style="border:none;background:none;vertical-align:-25%;" alt="surprise" />bject label=&#8221;One&#8221; value1=&#8221;100&#8243; value2=&#8221;100&#8243; value3=&#8221;60&#8243;/&gt;<br />
&lt;mx<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/surprise.gif" style="border:none;background:none;vertical-align:-25%;" alt="surprise" />bject label=&#8221;Two&#8221; value1=&#8221;2&#8243; value2=&#8221;90&#8243; value3=&#8221;600&#8243;/&gt;<br />
&lt;mx<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/surprise.gif" style="border:none;background:none;vertical-align:-25%;" alt="surprise" />bject label=&#8221;Three&#8221; value1=&#8221;300&#8243; value2=&#8221;40&#8243; value3=&#8221;200&#8243;/&gt;<br />
&lt;mx<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/surprise.gif" style="border:none;background:none;vertical-align:-25%;" alt="surprise" />bject label=&#8221;Four&#8221; value1=&#8221;40&#8243; value2=&#8221;100&#8243; value3=&#8221;100&#8243;/&gt;<br />
&lt;mx<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/surprise.gif" style="border:none;background:none;vertical-align:-25%;" alt="surprise" />bject label=&#8221;Five&#8221; value1=&#8221;500&#8243; value2=&#8221;200&#8243; value3=&#8221;400&#8243;/&gt;<br />
&lt;mx<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/surprise.gif" style="border:none;background:none;vertical-align:-25%;" alt="surprise" />bject label=&#8221;Six&#8221; value1=&#8221;60&#8243; value2=&#8221;300&#8243; value3=&#8221;80&#8243;/&gt;<br />
&lt;mx<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/surprise.gif" style="border:none;background:none;vertical-align:-25%;" alt="surprise" />bject label=&#8221;Seven&#8221; value1=&#8221;700&#8243; value2=&#8221;500&#8243; value3=&#8221;30&#8243;/&gt;<br />
&lt;mx<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/surprise.gif" style="border:none;background:none;vertical-align:-25%;" alt="surprise" />bject label=&#8221;Eight&#8221; value1=&#8221;800&#8243; value2=&#8221;50&#8243; value3=&#8221;50&#8243;/&gt;<br />
&lt;mx<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/surprise.gif" style="border:none;background:none;vertical-align:-25%;" alt="surprise" />bject label=&#8221;Nine&#8221; value1=&#8221;90&#8243; value2=&#8221;90&#8243; value3=&#8221;50&#8243;/&gt;<br />
&lt;mx<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/surprise.gif" style="border:none;background:none;vertical-align:-25%;" alt="surprise" />bject label=&#8221;Ten&#8221; value1=&#8221;100&#8243; value2=&#8221;10&#8243; value3=&#8221;100&#8243;/&gt;<br />
&lt;/mx:Array&gt;<br />
&lt;/mx<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/confused.gif" style="border:none;background:none;vertical-align:-25%;" alt="confused" />ource&gt;<br />
&lt;/mx:ArrayCollection&gt;</p>
<p>&lt;mx:ApplicationControlBar dock=&#8221;true&#8221;&gt;<br />
&lt;mx:HBox width=&#8221;100%&#8221;&gt;<br />
&lt;mx:Label text=&#8221;filter&#8221; /&gt;<br />
&lt;mx:CheckBox id=&#8221;checkBox&#8221; selected=&#8221;true&#8221; change=&#8221;checkBox_change(event);&#8221; /&gt;<br />
&lt;mx:ComboBox id=&#8221;vx&#8221; dataProvider=&#8221;{comb}&#8221;/&gt;<br />
&lt;mx:Label text=&#8221;Values&#8221; /&gt;<br />
&lt;mx:HSlider id=&#8221;slider&#8221;<br />
minimum=&#8221;0&#8243; maximum=&#8221;1000&#8243;<br />
values=&#8221;[0,1000]&#8221; labels=&#8221;[0,500,1000]&#8221;<br />
thumbCount=&#8221;2&#8243; showTrackHighlight=&#8221;true&#8221;<br />
snapInterval=&#8221;1&#8243; tickInterval=&#8221;100&#8243;<br />
liveDragging=&#8221;true&#8221; change=&#8221;slider_change(event);&#8221; /&gt;<br />
&lt;/mx:HBox&gt;<br />
&lt;/mx:ApplicationControlBar&gt;</p>
<p>&lt;mx<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/tongue.gif" style="border:none;background:none;vertical-align:-25%;" alt="tongue" />anel status=&#8221;{arrColl.length}/{arrColl.source.length} item(s)&#8221;&gt;<br />
&lt;mx<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/big_grin.gif" style="border:none;background:none;vertical-align:-25%;" alt="big grin" />ataGrid id=&#8221;dataGrid&#8221; dataProvider=&#8221;{arrColl}&#8221; verticalScrollPolicy=&#8221;on&#8221; /&gt;<br />
&lt;/mx<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/tongue.gif" style="border:none;background:none;vertical-align:-25%;" alt="tongue" />anel&gt;</p>
<p>&lt;/mx:Application&gt;</p></blockquote>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fflex.exposedout.net%2F2009%2F01%2F22%2Ffilter-datagrid-using-slider%2F&amp;title=Filter%20datagrid%20using%20a%20hslider" title="DZone"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fflex.exposedout.net%2F2009%2F01%2F22%2Ffilter-datagrid-using-slider%2F&amp;title=Filter%20datagrid%20using%20a%20hslider&amp;bodytext=Here%20is%20an%20example%20of%20Data%20grid%20filtered%20using%20a%20H%20slider%C2%A0%20with%202%20thumbs%20to%20select%20the%20range%20of%20date%20for%20which%20to%C2%A0%20filter%20the%20data%20grid.%20The%20combo%20box%20is%20used%20to%20select%20the%20specific%20column%20on%20which%20the%20filter%20has%20to%20be%20applied%20to.%20The%20check%20box%20is%20" title="Digg"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Filter%20datagrid%20using%20a%20hslider%20-%20http%3A%2F%2Fflex.exposedout.net%2F2009%2F01%2F22%2Ffilter-datagrid-using-slider%2F" title="Twitter"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fflex.exposedout.net%2F2009%2F01%2F22%2Ffilter-datagrid-using-slider%2F&amp;title=Filter%20datagrid%20using%20a%20hslider&amp;annotation=Here%20is%20an%20example%20of%20Data%20grid%20filtered%20using%20a%20H%20slider%C2%A0%20with%202%20thumbs%20to%20select%20the%20range%20of%20date%20for%20which%20to%C2%A0%20filter%20the%20data%20grid.%20The%20combo%20box%20is%20used%20to%20select%20the%20specific%20column%20on%20which%20the%20filter%20has%20to%20be%20applied%20to.%20The%20check%20box%20is%20" title="Google Bookmarks"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fflex.exposedout.net%2F2009%2F01%2F22%2Ffilter-datagrid-using-slider%2F" title="Technorati"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fflex.exposedout.net%2F2009%2F01%2F22%2Ffilter-datagrid-using-slider%2F&amp;title=Filter%20datagrid%20using%20a%20hslider" title="StumbleUpon"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fflex.exposedout.net%2F2009%2F01%2F22%2Ffilter-datagrid-using-slider%2F&amp;t=Filter%20datagrid%20using%20a%20hslider" title="MySpace"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fflex.exposedout.net%2F2009%2F01%2F22%2Ffilter-datagrid-using-slider%2F" title="Sphinn"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fflex.exposedout.net%2F2009%2F01%2F22%2Ffilter-datagrid-using-slider%2F&amp;title=Filter%20datagrid%20using%20a%20hslider&amp;notes=Here%20is%20an%20example%20of%20Data%20grid%20filtered%20using%20a%20H%20slider%C2%A0%20with%202%20thumbs%20to%20select%20the%20range%20of%20date%20for%20which%20to%C2%A0%20filter%20the%20data%20grid.%20The%20combo%20box%20is%20used%20to%20select%20the%20specific%20column%20on%20which%20the%20filter%20has%20to%20be%20applied%20to.%20The%20check%20box%20is%20" title="del.icio.us"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fflex.exposedout.net%2F2009%2F01%2F22%2Ffilter-datagrid-using-slider%2F&amp;t=Filter%20datagrid%20using%20a%20hslider" title="Facebook"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fflex.exposedout.net%2F2009%2F01%2F22%2Ffilter-datagrid-using-slider%2F&amp;title=Filter%20datagrid%20using%20a%20hslider" title="Reddit"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fflex.exposedout.net%2F2009%2F01%2F22%2Ffilter-datagrid-using-slider%2F&amp;title=Filter%20datagrid%20using%20a%20hslider" title="Mixx"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a></li>
</ul>
</div>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://flex.exposedout.net/2009/01/22/filter-datagrid-using-slider/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Printing dataGrid in Flex</title>
		<link>http://flex.exposedout.net/2008/10/16/printing-datagrid-in-flex/</link>
		<comments>http://flex.exposedout.net/2008/10/16/printing-datagrid-in-flex/#comments</comments>
		<pubDate>Thu, 16 Oct 2008 01:54:20 +0000</pubDate>
		<dc:creator>Vikram singh</dc:creator>
				<category><![CDATA[flex]]></category>
		<category><![CDATA[component]]></category>
		<category><![CDATA[datagrid]]></category>
		<category><![CDATA[print]]></category>

		<guid isPermaLink="false">http://guavus.wordpress.com/?p=127</guid>
		<description><![CDATA[There are very few resources on the web about printing in Flex. Adobe LiveDocs is an excellent on-line reference for Flex. I thought of sharing my experience and the way I successfully printed the dataGrid in Flex. Example below: shows how to call a function to print a datagrid public function printDataGrid() : void { [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>There are very few resources on the web about printing in Flex. Adobe LiveDocs is an excellent on-line reference for Flex. I thought of sharing my experience and the way I successfully printed the dataGrid in Flex.</p>
<p><strong>Example below: shows how to call a function to print a datagrid</strong></p>
<blockquote><p>public function printDataGrid() : void<br />
{<br />
var printJob : FlexPrintJob = new FlexPrintJob();<br />
var thePrintView : FormPrintView = new FormPrintView();<br />
Application.application.addChild(thePrintView);<br />
if(printJob.start() != true)<br />
return;</p>
<p>//Set the print view properties.<br />
thePrintView.width=printJob.pageWidth;<br />
thePrintView.height=printJob.pageHeight;<br />
thePrintView.printableDataGrid.dataProvider = originalDataGrid.dataProvider<br />
thePrintView.printableDataGrid.columns = originalDataGrid.columns ;<br />
thePrintView.printableDataGrid.setStyle(”fontSize”, 8);<br />
thePrintView.printableDataGrid.setStyle(”wordWrap”, true);<br />
printJob.addObject(thePrintView);</p>
<p>printJob.send();<br />
Application.application.removeChild(thePrintView);<br />
}</p>
<p>&lt;mx<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/big_grin.gif" style="border:none;background:none;vertical-align:-25%;" alt="big grin" />ataGrid id=”originalDataGrid” width=”100%” height=”100%” dataProvider=”{dataForGrid}”/&gt;</p></blockquote>
<p>Example below: shows printview</p>
<blockquote><p>&lt;!– FormPrintView.mxml –&gt;<br />
&lt;mx:VBox xmlns:mx=”http://www.adobe.com/2006/mxml”&gt;<br />
&lt;mx<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/tongue.gif" style="border:none;background:none;vertical-align:-25%;" alt="tongue" />rintDataGrid id=”printableDataGrid” width=”90%” height=”100%”&gt;<br />
&lt;!– Specify the columns to ensure that their order is correct. This is not mandatory–&gt;<br />
&lt;/mx<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/tongue.gif" style="border:none;background:none;vertical-align:-25%;" alt="tongue" />rintDataGrid&gt;<br />
&lt;/mx:VBox&gt;</p></blockquote>
<p><strong>Below are the simple steps to print the DataGrid in Flex</strong></p>
<blockquote><p>1. Create an instance of the FlexPrintJob called printJob (you can call anything you want to)</p>
<p>2. Create an instance of the PrintDataGrid in another MXML file FormPrintView.mxml and create an instance of that &#8211; thePrintView (if you create&lt;mx<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/tongue.gif" style="border:none;background:none;vertical-align:-25%;" alt="tongue" />rintDataGrid/&gt; in  the same MXML, which uses the function –&gt; printDataGrid() then the application reservers some place for &lt;mx<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/tongue.gif" style="border:none;background:none;vertical-align:-25%;" alt="tongue" />rintDataGrid/&gt; component. This looks a bit ugly as we do not want to see that extra space in our application). Always use PrintGrid class to print the dataGrid instead of the DataGrid, which originally displays content in the application, as it is tailored to print DataGrid in flex</p>
<p>3. Add the thePrintView object to the application container</p>
<p style="padding-left:30px;">&#8220;Application.application.addChild(thePrintView);&#8221;</p>
<p>4. Only one print job can be active at a time. So check to see if the printJob.start() is true. Start printing when it is true</p>
<p>5. Set the height, width properties of the thePrintView object to the pageWidth and pageHeightof the pringJob object</p>
<p>6. Assign the dataProvider of the DataGrid to be printed to the instance of the PrintDataGrid class, You also need to set the columns of the original dataGrid to the thePrintView object. You can also control the appearance of the printDataGrid object as follows</p>
<p style="padding-left:30px;">printDataGrid.setStyle(”fontSize”, 8);<br />
printDataGrid.setStyle(”wordWrap”, true);</p>
<p>7. Use addObject method to add object to the printJob instance</p>
<p>8. Use printJob.send() to send the print job to a printer</p>
</blockquote>
<p><img src="http://sites.google.com/site/vxaodz/aodz/prinJob.JPG" alt="print datagrid" /><br />
<strong>Download source <a href="http://sites.google.com/site/vxaodz/aodz/printJob.zip">here</a></strong></p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fflex.exposedout.net%2F2008%2F10%2F16%2Fprinting-datagrid-in-flex%2F&amp;title=Printing%20dataGrid%20in%20Flex" title="DZone"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fflex.exposedout.net%2F2008%2F10%2F16%2Fprinting-datagrid-in-flex%2F&amp;title=Printing%20dataGrid%20in%20Flex&amp;bodytext=There%20are%20very%20few%20resources%20on%20the%20web%20about%20printing%20in%20Flex.%20Adobe%20LiveDocs%20is%20an%20excellent%20on-line%20reference%20for%20Flex.%20I%20thought%20of%20sharing%20my%20experience%20and%20the%20way%20I%20successfully%20printed%20the%20dataGrid%20in%20Flex.%0A%0AExample%20below%3A%20shows%20how%20to%20call%20a" title="Digg"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Printing%20dataGrid%20in%20Flex%20-%20http%3A%2F%2Fflex.exposedout.net%2F2008%2F10%2F16%2Fprinting-datagrid-in-flex%2F" title="Twitter"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fflex.exposedout.net%2F2008%2F10%2F16%2Fprinting-datagrid-in-flex%2F&amp;title=Printing%20dataGrid%20in%20Flex&amp;annotation=There%20are%20very%20few%20resources%20on%20the%20web%20about%20printing%20in%20Flex.%20Adobe%20LiveDocs%20is%20an%20excellent%20on-line%20reference%20for%20Flex.%20I%20thought%20of%20sharing%20my%20experience%20and%20the%20way%20I%20successfully%20printed%20the%20dataGrid%20in%20Flex.%0A%0AExample%20below%3A%20shows%20how%20to%20call%20a" title="Google Bookmarks"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fflex.exposedout.net%2F2008%2F10%2F16%2Fprinting-datagrid-in-flex%2F" title="Technorati"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fflex.exposedout.net%2F2008%2F10%2F16%2Fprinting-datagrid-in-flex%2F&amp;title=Printing%20dataGrid%20in%20Flex" title="StumbleUpon"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fflex.exposedout.net%2F2008%2F10%2F16%2Fprinting-datagrid-in-flex%2F&amp;t=Printing%20dataGrid%20in%20Flex" title="MySpace"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fflex.exposedout.net%2F2008%2F10%2F16%2Fprinting-datagrid-in-flex%2F" title="Sphinn"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fflex.exposedout.net%2F2008%2F10%2F16%2Fprinting-datagrid-in-flex%2F&amp;title=Printing%20dataGrid%20in%20Flex&amp;notes=There%20are%20very%20few%20resources%20on%20the%20web%20about%20printing%20in%20Flex.%20Adobe%20LiveDocs%20is%20an%20excellent%20on-line%20reference%20for%20Flex.%20I%20thought%20of%20sharing%20my%20experience%20and%20the%20way%20I%20successfully%20printed%20the%20dataGrid%20in%20Flex.%0A%0AExample%20below%3A%20shows%20how%20to%20call%20a" title="del.icio.us"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fflex.exposedout.net%2F2008%2F10%2F16%2Fprinting-datagrid-in-flex%2F&amp;t=Printing%20dataGrid%20in%20Flex" title="Facebook"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fflex.exposedout.net%2F2008%2F10%2F16%2Fprinting-datagrid-in-flex%2F&amp;title=Printing%20dataGrid%20in%20Flex" title="Reddit"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fflex.exposedout.net%2F2008%2F10%2F16%2Fprinting-datagrid-in-flex%2F&amp;title=Printing%20dataGrid%20in%20Flex" title="Mixx"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a></li>
</ul>
</div>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://flex.exposedout.net/2008/10/16/printing-datagrid-in-flex/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Flex dataGrid default column sort</title>
		<link>http://flex.exposedout.net/2008/10/15/flex-datagrid-default-column-sort/</link>
		<comments>http://flex.exposedout.net/2008/10/15/flex-datagrid-default-column-sort/#comments</comments>
		<pubDate>Wed, 15 Oct 2008 10:55:44 +0000</pubDate>
		<dc:creator>Vikram singh</dc:creator>
				<category><![CDATA[flex]]></category>
		<category><![CDATA[component]]></category>
		<category><![CDATA[datagrid]]></category>

		<guid isPermaLink="false">http://guavus.wordpress.com/?p=118</guid>
		<description><![CDATA[The below example  gives you a hook to sort a  particular column in a datagrid without user input. One can use the below function where ever a datagrid has to have a default sort order on its column(s).  Note : This works with flex 2 datagrid and not with Advanced datagrid in Moxie. The dataGridDefaultSort [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>The below example  gives you a hook to sort a  particular column in a datagrid without user input. One can use the below function where ever a datagrid has to have a default sort order on its column(s).  Note : This works with flex 2 datagrid and not with Advanced datagrid in Moxie.</p>
<p>The <strong>dataGridDefaultSort </strong>functions requires two input items. The dgName which as the variable suggest is the name of the DataGrid and the dgColumn, DataGrid Column, to be sorted by the numbers. column numbering begins with zero.</p>
<p>These input items are used with the <strong>DataGridEvent </strong>below and is dispatched (excuted). The DataGridEvent has a total of <strong>9</strong> values for successful operation. They are listed below in expanded detail.</p>
<p>1. <strong>type<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/confused.gif" style="border:none;background:none;vertical-align:-25%;" alt="confused" />tring</strong> — The event type; indicates the action that caused the event. This is represented by the dgName input variable. The DataGridEvent.HEADER_RELEASE constant defines the value of the type property of the event object for a headerRelease event, which indicates that the user pressed and released the mouse on a column header<br />
2. <strong>bubbles<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/nerd.gif" style="border:none;background:none;vertical-align:-25%;" alt="nerd" />oolean</strong> (default = false) — Specifies whether the event can bubble up the display list hierarchy.<br />
3. <strong>cancelable<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/nerd.gif" style="border:none;background:none;vertical-align:-25%;" alt="nerd" />oolean</strong> (default = false) — Specifies whether the behavior associated with the event can be prevented.<br />
4. <strong>columnIndex:int</strong> (default = -1) — The zero-based index of the column where the event occurred. This is represented by the dgColumn input variable.<br />
5. <strong>dataField<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/confused.gif" style="border:none;background:none;vertical-align:-25%;" alt="confused" />tring</strong> (default = null) — The name of the field or property in the data associated with the column.<br />
6.<strong> rowIndex:int</strong> (default = -1) — The zero-based index of the item in the in the data provider.<br />
7. <strong>reason<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/confused.gif" style="border:none;background:none;vertical-align:-25%;" alt="confused" />tring</strong> (default = null) — The reason for an itemEditEnd event.<br />
8. <strong>itemRenderer:IListItemRenderer</strong> (default = null) — The item renderer that is being edited or the header renderer that was clicked.<br />
9. <strong>localX:Number</strong> — Column x-position for replaying columnStretch events.</p>
<p>Call this function anywhere in the program and  use as per above attributes.</p>
<blockquote><p><strong><span>private </span><span>function </span>dataGridDefaultSort</strong>(dgName<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/surprise.gif" style="border:none;background:none;vertical-align:-25%;" alt="surprise" />bject, dgColumn:int)<strong>:<span>void</span>{ </strong><br />
dgName.dispatchEvent(new DataGridEvent(DataGridEvent.HEADER_RELEASE,   false,true,dgColumn,null,0,null,null,0));<br />
<strong>}</strong></p></blockquote>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fflex.exposedout.net%2F2008%2F10%2F15%2Fflex-datagrid-default-column-sort%2F&amp;title=Flex%20dataGrid%20default%20column%20sort" title="DZone"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fflex.exposedout.net%2F2008%2F10%2F15%2Fflex-datagrid-default-column-sort%2F&amp;title=Flex%20dataGrid%20default%20column%20sort&amp;bodytext=The%20below%20example%C2%A0%20gives%20you%20a%20hook%20to%20sort%20a%C2%A0%20particular%20column%20in%20a%20datagrid%20without%20user%20input.%20One%20can%20use%20the%20below%20function%20where%20ever%20a%20datagrid%20has%20to%20have%20a%20default%20sort%20order%20on%20its%20column%28s%29.%C2%A0%20Note%20%3A%20This%20works%20with%20flex%202%20datagrid%20and%20" title="Digg"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Flex%20dataGrid%20default%20column%20sort%20-%20http%3A%2F%2Fflex.exposedout.net%2F2008%2F10%2F15%2Fflex-datagrid-default-column-sort%2F" title="Twitter"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fflex.exposedout.net%2F2008%2F10%2F15%2Fflex-datagrid-default-column-sort%2F&amp;title=Flex%20dataGrid%20default%20column%20sort&amp;annotation=The%20below%20example%C2%A0%20gives%20you%20a%20hook%20to%20sort%20a%C2%A0%20particular%20column%20in%20a%20datagrid%20without%20user%20input.%20One%20can%20use%20the%20below%20function%20where%20ever%20a%20datagrid%20has%20to%20have%20a%20default%20sort%20order%20on%20its%20column%28s%29.%C2%A0%20Note%20%3A%20This%20works%20with%20flex%202%20datagrid%20and%20" title="Google Bookmarks"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fflex.exposedout.net%2F2008%2F10%2F15%2Fflex-datagrid-default-column-sort%2F" title="Technorati"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fflex.exposedout.net%2F2008%2F10%2F15%2Fflex-datagrid-default-column-sort%2F&amp;title=Flex%20dataGrid%20default%20column%20sort" title="StumbleUpon"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fflex.exposedout.net%2F2008%2F10%2F15%2Fflex-datagrid-default-column-sort%2F&amp;t=Flex%20dataGrid%20default%20column%20sort" title="MySpace"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fflex.exposedout.net%2F2008%2F10%2F15%2Fflex-datagrid-default-column-sort%2F" title="Sphinn"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fflex.exposedout.net%2F2008%2F10%2F15%2Fflex-datagrid-default-column-sort%2F&amp;title=Flex%20dataGrid%20default%20column%20sort&amp;notes=The%20below%20example%C2%A0%20gives%20you%20a%20hook%20to%20sort%20a%C2%A0%20particular%20column%20in%20a%20datagrid%20without%20user%20input.%20One%20can%20use%20the%20below%20function%20where%20ever%20a%20datagrid%20has%20to%20have%20a%20default%20sort%20order%20on%20its%20column%28s%29.%C2%A0%20Note%20%3A%20This%20works%20with%20flex%202%20datagrid%20and%20" title="del.icio.us"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fflex.exposedout.net%2F2008%2F10%2F15%2Fflex-datagrid-default-column-sort%2F&amp;t=Flex%20dataGrid%20default%20column%20sort" title="Facebook"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fflex.exposedout.net%2F2008%2F10%2F15%2Fflex-datagrid-default-column-sort%2F&amp;title=Flex%20dataGrid%20default%20column%20sort" title="Reddit"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fflex.exposedout.net%2F2008%2F10%2F15%2Fflex-datagrid-default-column-sort%2F&amp;title=Flex%20dataGrid%20default%20column%20sort" title="Mixx"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a></li>
</ul>
</div>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://flex.exposedout.net/2008/10/15/flex-datagrid-default-column-sort/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Search dataGrid and Simple dataGrid Itemrenderer example</title>
		<link>http://flex.exposedout.net/2008/10/05/search-datagrid-and-simple-datagrid-itemrenderer-example/</link>
		<comments>http://flex.exposedout.net/2008/10/05/search-datagrid-and-simple-datagrid-itemrenderer-example/#comments</comments>
		<pubDate>Sun, 05 Oct 2008 02:13:56 +0000</pubDate>
		<dc:creator>Vikram singh</dc:creator>
				<category><![CDATA[flex]]></category>
		<category><![CDATA[component]]></category>
		<category><![CDATA[cursor]]></category>
		<category><![CDATA[datagrid]]></category>
		<category><![CDATA[itemrenderer]]></category>
		<category><![CDATA[lifecycle]]></category>

		<guid isPermaLink="false">http://guavus.wordpress.com/?p=85</guid>
		<description><![CDATA[The following example is a Simple searchable DataGrid, I have also included dataGrid item renderer to show how to define/use a dataGrid &#8220;itemRendrer&#8221;. Search and Highlight a row depending on the searched text in a dataGrid. Define a cursor to traverse dataGrid rows. The Objective of this example : How to create custom item rendrer [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>The following example is a Simple searchable DataGrid, I have also included dataGrid item renderer to show how to define/use a dataGrid &#8220;itemRendrer&#8221;. Search and Highlight a row depending on the searched text in a dataGrid. Define a cursor to traverse dataGrid rows.</p>
<p>The Objective of this example :</p>
<ul>
<li>How to create custom <a href="http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&amp;file=00000854.html" target="_blank">item rendrer</a> using Updatedisplaylist and data property.</li>
<li>How to use the itemrendrer (<a href="http://www.adobe.com/devnet/flex/articles/itemrenderers_pt1.html" target="_blank">detail</a>).</li>
<li>How to use custom <a href="http://livedocs.adobe.com/flex/2/langref/mx/collections/IViewCursor.html" target="_blank">cursors </a>in a dataGrid.</li>
<li>how to write a <a href="http://guavus.wordpress.com/2008/09/15/flex-component-lifecycle/" target="_blank">custom component</a> extending a base component in this case dataGrid. (highlight a row in the dataGrid).</li>
</ul>
<p style="text-align:center;"><a href="http://4638714813934842079-a-1802744773732722657-s-sites.googlegroups.com/site/vxaodz/aodz/search_datagrid.swf"><img class="aligncenter size-medium wp-image-86" title="search_datagrid" src="http://guavus.files.wordpress.com/2008/10/search_datagrid.png?w=300" alt="" width="300" height="216" /></a></p>
<p>Download source:</p>
<ul>
<li><a href="http://sites.google.com/site/vxaodz/aodz/search_datagrid.mxml" target="_blank">search_datagrid.mxml </a>(Main application)</li>
<li><a href="http://sites.google.com/site/vxaodz/aodz/UserLabelRendr3r.as" target="_blank">UserLabelRendr3r.as</a> (Item rendrer)<a href="http://sites.google.com/site/vxaodz/aodz/UserLabelRendr3r.as" target="_blank"><br />
</a></li>
<li><a href="http://sites.google.com/site/vxaodz/aodz/CustomRowColorDG.as" target="_blank">CustomRowColorDG.as</a> (highlight selected row in a dataGrid)</li>
</ul>
<p>Sample : <a href="http://4638714813934842079-a-1802744773732722657-s-sites.googlegroups.com/site/vxaodz/aodz/search_datagrid.swf" target="_blank">search_datagrid</a></p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fflex.exposedout.net%2F2008%2F10%2F05%2Fsearch-datagrid-and-simple-datagrid-itemrenderer-example%2F&amp;title=Search%20dataGrid%20and%20Simple%20dataGrid%20Itemrenderer%20example" title="DZone"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fflex.exposedout.net%2F2008%2F10%2F05%2Fsearch-datagrid-and-simple-datagrid-itemrenderer-example%2F&amp;title=Search%20dataGrid%20and%20Simple%20dataGrid%20Itemrenderer%20example&amp;bodytext=The%20following%20example%20is%20a%20Simple%20searchable%20DataGrid%2C%20I%20have%20also%20included%20dataGrid%20item%20renderer%20to%20show%20how%20to%20define%2Fuse%20a%20dataGrid%20%22itemRendrer%22.%20Search%20and%20Highlight%20a%20row%20depending%20on%20the%20searched%20text%20in%20a%20dataGrid.%20Define%20a%20cursor%20to%20travers" title="Digg"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Search%20dataGrid%20and%20Simple%20dataGrid%20Itemrenderer%20example%20-%20http%3A%2F%2Fflex.exposedout.net%2F2008%2F10%2F05%2Fsearch-datagrid-and-simple-datagrid-itemrenderer-example%2F" title="Twitter"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fflex.exposedout.net%2F2008%2F10%2F05%2Fsearch-datagrid-and-simple-datagrid-itemrenderer-example%2F&amp;title=Search%20dataGrid%20and%20Simple%20dataGrid%20Itemrenderer%20example&amp;annotation=The%20following%20example%20is%20a%20Simple%20searchable%20DataGrid%2C%20I%20have%20also%20included%20dataGrid%20item%20renderer%20to%20show%20how%20to%20define%2Fuse%20a%20dataGrid%20%22itemRendrer%22.%20Search%20and%20Highlight%20a%20row%20depending%20on%20the%20searched%20text%20in%20a%20dataGrid.%20Define%20a%20cursor%20to%20travers" title="Google Bookmarks"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fflex.exposedout.net%2F2008%2F10%2F05%2Fsearch-datagrid-and-simple-datagrid-itemrenderer-example%2F" title="Technorati"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fflex.exposedout.net%2F2008%2F10%2F05%2Fsearch-datagrid-and-simple-datagrid-itemrenderer-example%2F&amp;title=Search%20dataGrid%20and%20Simple%20dataGrid%20Itemrenderer%20example" title="StumbleUpon"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fflex.exposedout.net%2F2008%2F10%2F05%2Fsearch-datagrid-and-simple-datagrid-itemrenderer-example%2F&amp;t=Search%20dataGrid%20and%20Simple%20dataGrid%20Itemrenderer%20example" title="MySpace"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fflex.exposedout.net%2F2008%2F10%2F05%2Fsearch-datagrid-and-simple-datagrid-itemrenderer-example%2F" title="Sphinn"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fflex.exposedout.net%2F2008%2F10%2F05%2Fsearch-datagrid-and-simple-datagrid-itemrenderer-example%2F&amp;title=Search%20dataGrid%20and%20Simple%20dataGrid%20Itemrenderer%20example&amp;notes=The%20following%20example%20is%20a%20Simple%20searchable%20DataGrid%2C%20I%20have%20also%20included%20dataGrid%20item%20renderer%20to%20show%20how%20to%20define%2Fuse%20a%20dataGrid%20%22itemRendrer%22.%20Search%20and%20Highlight%20a%20row%20depending%20on%20the%20searched%20text%20in%20a%20dataGrid.%20Define%20a%20cursor%20to%20travers" title="del.icio.us"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fflex.exposedout.net%2F2008%2F10%2F05%2Fsearch-datagrid-and-simple-datagrid-itemrenderer-example%2F&amp;t=Search%20dataGrid%20and%20Simple%20dataGrid%20Itemrenderer%20example" title="Facebook"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fflex.exposedout.net%2F2008%2F10%2F05%2Fsearch-datagrid-and-simple-datagrid-itemrenderer-example%2F&amp;title=Search%20dataGrid%20and%20Simple%20dataGrid%20Itemrenderer%20example" title="Reddit"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fflex.exposedout.net%2F2008%2F10%2F05%2Fsearch-datagrid-and-simple-datagrid-itemrenderer-example%2F&amp;title=Search%20dataGrid%20and%20Simple%20dataGrid%20Itemrenderer%20example" title="Mixx"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a></li>
</ul>
</div>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://flex.exposedout.net/2008/10/05/search-datagrid-and-simple-datagrid-itemrenderer-example/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Inline Itemrenderer</title>
		<link>http://flex.exposedout.net/2008/09/08/inline-itemrenderer/</link>
		<comments>http://flex.exposedout.net/2008/09/08/inline-itemrenderer/#comments</comments>
		<pubDate>Mon, 08 Sep 2008 05:56:29 +0000</pubDate>
		<dc:creator>Vikram singh</dc:creator>
				<category><![CDATA[flex]]></category>
		<category><![CDATA[datagrid]]></category>
		<category><![CDATA[itemrenderer]]></category>

		<guid isPermaLink="false">http://guavus.wordpress.com/?p=46</guid>
		<description><![CDATA[I stumbled upon an unknown property as I was trying to use an Inline Item Renderer on my DataGrid Columns. If you use the &#60;mx:component&#62; tag with your inline item renderer and try to have your component call an event in your main application you will get a nasty &#8220;Access to undefined method &#8230;&#8230;&#8221;. This [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I stumbled upon an unknown property as I was trying to use an Inline Item Renderer on my DataGrid Columns. If you use the &lt;mx:component&gt; tag with your inline item renderer and try to have your component call an event in your main application you will get a nasty &#8220;Access to undefined method &#8230;&#8230;&#8221;. This is because your Inline Item Renderer is unaware of what exists in your main application. But you can use the outerDocument property to access event handlers in you main application.</p>
<p><strong>Example:</strong><br />
&lt;mx:itemRenderer&gt;<br />
&lt;mx:Component&gt;<br />
&lt;mx:VBox &gt;<br />
&lt;mx<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/nerd.gif" style="border:none;background:none;vertical-align:-25%;" alt="nerd" />utton label=&#8221;Remove&#8221; click=&#8221;<span style="color:#ff0000;">outerDocument.remove()</span>&#8220;/&gt;<br />
&lt;/mx:VBox&gt;<br />
&lt;/mx:Component&gt;<br />
&lt;/mx:itemRenderer&gt;</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fflex.exposedout.net%2F2008%2F09%2F08%2Finline-itemrenderer%2F&amp;title=Inline%20Itemrenderer" title="DZone"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fflex.exposedout.net%2F2008%2F09%2F08%2Finline-itemrenderer%2F&amp;title=Inline%20Itemrenderer&amp;bodytext=I%20stumbled%20upon%20an%20unknown%20property%20as%20I%20was%20trying%20to%20use%20an%20Inline%20Item%20Renderer%20on%20my%20DataGrid%20Columns.%20If%20you%20use%20the%20%26lt%3Bmx%3Acomponent%26gt%3B%20tag%20with%20your%20inline%20item%20renderer%20and%20try%20to%20have%20your%20component%20call%20an%20event%20in%20your%20main%20application%20yo" title="Digg"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Inline%20Itemrenderer%20-%20http%3A%2F%2Fflex.exposedout.net%2F2008%2F09%2F08%2Finline-itemrenderer%2F" title="Twitter"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fflex.exposedout.net%2F2008%2F09%2F08%2Finline-itemrenderer%2F&amp;title=Inline%20Itemrenderer&amp;annotation=I%20stumbled%20upon%20an%20unknown%20property%20as%20I%20was%20trying%20to%20use%20an%20Inline%20Item%20Renderer%20on%20my%20DataGrid%20Columns.%20If%20you%20use%20the%20%26lt%3Bmx%3Acomponent%26gt%3B%20tag%20with%20your%20inline%20item%20renderer%20and%20try%20to%20have%20your%20component%20call%20an%20event%20in%20your%20main%20application%20yo" title="Google Bookmarks"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fflex.exposedout.net%2F2008%2F09%2F08%2Finline-itemrenderer%2F" title="Technorati"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fflex.exposedout.net%2F2008%2F09%2F08%2Finline-itemrenderer%2F&amp;title=Inline%20Itemrenderer" title="StumbleUpon"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fflex.exposedout.net%2F2008%2F09%2F08%2Finline-itemrenderer%2F&amp;t=Inline%20Itemrenderer" title="MySpace"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fflex.exposedout.net%2F2008%2F09%2F08%2Finline-itemrenderer%2F" title="Sphinn"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fflex.exposedout.net%2F2008%2F09%2F08%2Finline-itemrenderer%2F&amp;title=Inline%20Itemrenderer&amp;notes=I%20stumbled%20upon%20an%20unknown%20property%20as%20I%20was%20trying%20to%20use%20an%20Inline%20Item%20Renderer%20on%20my%20DataGrid%20Columns.%20If%20you%20use%20the%20%26lt%3Bmx%3Acomponent%26gt%3B%20tag%20with%20your%20inline%20item%20renderer%20and%20try%20to%20have%20your%20component%20call%20an%20event%20in%20your%20main%20application%20yo" title="del.icio.us"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fflex.exposedout.net%2F2008%2F09%2F08%2Finline-itemrenderer%2F&amp;t=Inline%20Itemrenderer" title="Facebook"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fflex.exposedout.net%2F2008%2F09%2F08%2Finline-itemrenderer%2F&amp;title=Inline%20Itemrenderer" title="Reddit"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fflex.exposedout.net%2F2008%2F09%2F08%2Finline-itemrenderer%2F&amp;title=Inline%20Itemrenderer" title="Mixx"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a></li>
</ul>
</div>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://flex.exposedout.net/2008/09/08/inline-itemrenderer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Copy functionality in DataGrid</title>
		<link>http://flex.exposedout.net/2008/08/18/copy-functionality-in-datagrid/</link>
		<comments>http://flex.exposedout.net/2008/08/18/copy-functionality-in-datagrid/#comments</comments>
		<pubDate>Mon, 18 Aug 2008 13:34:22 +0000</pubDate>
		<dc:creator>Vikram singh</dc:creator>
				<category><![CDATA[flex]]></category>
		<category><![CDATA[copy]]></category>
		<category><![CDATA[datagrid]]></category>
		<category><![CDATA[excel]]></category>

		<guid isPermaLink="false">http://guavus.wordpress.com/?p=28</guid>
		<description><![CDATA[The following example shows the customize data grid by applying a copy and paste functionality. The idea is very simple but i think its useful, the data copied in clipboard can directly paste in excel and it will pasted in proper columns rather than in a single column, I tested this on Excel 2007. for [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<div class="entrybody">
<div class="snap_preview">
<p>The following example shows the customize data grid by applying a copy and paste functionality.</p>
<p>The idea is very simple but i think its useful, the data copied in clipboard can directly paste in excel and it will pasted in proper columns rather than in a single column, I tested this on Excel 2007.</p>
<p>for the running examples click <a href="http://imtiyaz-dev.blogspot.com/2008/06/test-post.html" target="_blank">here</a></p>
<p>for the complete source <a href="http://imtiyaz.ms.googlepages.com/CDGrid.rar" target="_self">here</a></p>
<p><span id="more-28"></span></p>
<blockquote><p>package com.ib.custom<br />
{<br />
import flash.events.ContextMenuEvent;<br />
import flash.events.Event;<br />
import flash.system.System;<br />
import flash.ui.ContextMenu;<br />
import flash.ui.ContextMenuItem;</p>
<p>import mx.controls.Alert;<br />
import mx.controls.DataGrid;<br />
import mx.controls.dataGridClasses.DataGridColumn;<br />
import mx.core.EventPriority;<br />
import mx.events.CloseEvent;<br />
import mx.events.ListEvent;</p>
<p>public class IBDataGrid extends DataGrid<br />
{<br />
[Bindable] public var enableCopy : Boolean = true;<br />
// for creating conext menu item for coping functionality<br />
private var copyContextItem:ContextMenuItem;<br />
// for storing the header text at only once.<br />
private var headerString : String = ”;</p>
<p>private var dataToCopy<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/confused.gif" style="border:none;background:none;vertical-align:-25%;" alt="confused" />tring = ”;<br />
public function IBDataGrid()<br />
{<br />
super();<br />
}</p>
<p>// I am creating a copy context item and its handler in creation complete of DATAGRID if and only if enableCopy is true.<br />
override protected function createChildren():void{<br />
super.createChildren();<br />
var flag<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/nerd.gif" style="border:none;background:none;vertical-align:-25%;" alt="nerd" />oolean = false<br />
if(enableCopy){<br />
contextMenu = new ContextMenu();<br />
createContextMenu();<br />
addEventListener(ListEvent.ITEM_CLICK,<br />
itemClickHandler,<br />
false, EventPriority.DEFAULT_HANDLER);<br />
flag = true;<br />
}<br />
}</p>
<p>private function createContextMenu():void{<br />
copyContextItem = new ContextMenuItem(”copy row/s”);<br />
copyContextItem.enabled = false;<br />
copyContextItem.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT,copyDataHandler);<br />
contextMenu.customItems.push(copyContextItem);<br />
// comment the following line if you want default items in context menu.<br />
contextMenu.hideBuiltInItems();<br />
}</p>
<p>private function copyDataHandler(event:Event):void{<br />
dataToCopy = ”;<br />
if(selectedItems != null){<br />
dataToCopy = getSelectedRowsData();<br />
dataToCopy = ((headerString == ”) ? getHeaderData() : headerString)+”\n” + dataToCopy;<br />
copyContextItem.enabled = true;<br />
System.setClipboard(dataToCopy);<br />
}<br />
}</p>
<p>private function handleAlertClose(event:CloseEvent):void{<br />
trace(”handling .. the event”);<br />
if(event.detail == 1)<br />
{</p>
<p>}</p>
<p>}<br />
private function getHeaderData()<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/confused.gif" style="border:none;background:none;vertical-align:-25%;" alt="confused" />tring{<br />
headerString = ”;<br />
for(var j:int = 0; j&lt; columnCount; j++){<br />
if((columns[j] as DataGridColumn).visible)<br />
headerString += (columns[j] as DataGridColumn).headerText +”\t”;<br />
}<br />
return headerString;<br />
}</p>
<p>private function getSelectedRowsData()<img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/confused.gif" style="border:none;background:none;vertical-align:-25%;" alt="confused" />tring{<br />
var rowsData : String = ”;<br />
for(var i:int =0;i&lt;selectedItems.length;i++) {<br />
for(var j:int = 0; j&lt; columnCount; j++){<br />
if((columns[j] as DataGridColumn).visible)<br />
rowsData += selectedItems[i][(columns[j] as DataGridColumn).dataField] +”\t”;<br />
}<br />
rowsData+= “\n”;<br />
}<br />
return rowsData;<br />
}</p>
<p>private function itemClickHandler(event:ListEvent):void<br />
{<br />
copyContextItem.enabled = true;<br />
}<br />
}<br />
}</p></blockquote>
<p>- imtiyaz</p></div>
</div>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fflex.exposedout.net%2F2008%2F08%2F18%2Fcopy-functionality-in-datagrid%2F&amp;title=Copy%20functionality%20in%20DataGrid" title="DZone"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fflex.exposedout.net%2F2008%2F08%2F18%2Fcopy-functionality-in-datagrid%2F&amp;title=Copy%20functionality%20in%20DataGrid&amp;bodytext=%0A%0A%0AThe%20following%20example%20shows%20the%20customize%20data%20grid%20by%20applying%20a%20copy%20and%20paste%20functionality.%0A%0AThe%20idea%20is%20very%20simple%20but%20i%20think%20its%20useful%2C%20the%20data%20copied%20in%20clipboard%20can%20directly%20paste%20in%20excel%20and%20it%20will%20pasted%20in%20proper%20columns%20rather%20t" title="Digg"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Copy%20functionality%20in%20DataGrid%20-%20http%3A%2F%2Fflex.exposedout.net%2F2008%2F08%2F18%2Fcopy-functionality-in-datagrid%2F" title="Twitter"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fflex.exposedout.net%2F2008%2F08%2F18%2Fcopy-functionality-in-datagrid%2F&amp;title=Copy%20functionality%20in%20DataGrid&amp;annotation=%0A%0A%0AThe%20following%20example%20shows%20the%20customize%20data%20grid%20by%20applying%20a%20copy%20and%20paste%20functionality.%0A%0AThe%20idea%20is%20very%20simple%20but%20i%20think%20its%20useful%2C%20the%20data%20copied%20in%20clipboard%20can%20directly%20paste%20in%20excel%20and%20it%20will%20pasted%20in%20proper%20columns%20rather%20t" title="Google Bookmarks"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fflex.exposedout.net%2F2008%2F08%2F18%2Fcopy-functionality-in-datagrid%2F" title="Technorati"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fflex.exposedout.net%2F2008%2F08%2F18%2Fcopy-functionality-in-datagrid%2F&amp;title=Copy%20functionality%20in%20DataGrid" title="StumbleUpon"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fflex.exposedout.net%2F2008%2F08%2F18%2Fcopy-functionality-in-datagrid%2F&amp;t=Copy%20functionality%20in%20DataGrid" title="MySpace"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fflex.exposedout.net%2F2008%2F08%2F18%2Fcopy-functionality-in-datagrid%2F" title="Sphinn"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fflex.exposedout.net%2F2008%2F08%2F18%2Fcopy-functionality-in-datagrid%2F&amp;title=Copy%20functionality%20in%20DataGrid&amp;notes=%0A%0A%0AThe%20following%20example%20shows%20the%20customize%20data%20grid%20by%20applying%20a%20copy%20and%20paste%20functionality.%0A%0AThe%20idea%20is%20very%20simple%20but%20i%20think%20its%20useful%2C%20the%20data%20copied%20in%20clipboard%20can%20directly%20paste%20in%20excel%20and%20it%20will%20pasted%20in%20proper%20columns%20rather%20t" title="del.icio.us"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fflex.exposedout.net%2F2008%2F08%2F18%2Fcopy-functionality-in-datagrid%2F&amp;t=Copy%20functionality%20in%20DataGrid" title="Facebook"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fflex.exposedout.net%2F2008%2F08%2F18%2Fcopy-functionality-in-datagrid%2F&amp;title=Copy%20functionality%20in%20DataGrid" title="Reddit"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fflex.exposedout.net%2F2008%2F08%2F18%2Fcopy-functionality-in-datagrid%2F&amp;title=Copy%20functionality%20in%20DataGrid" title="Mixx"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a></li>
</ul>
</div>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://flex.exposedout.net/2008/08/18/copy-functionality-in-datagrid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
