<?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>Tohir Solomons &#187; ExtJS</title>
	<atom:link href="http://www.tohir.co.za/category/software-and-technology/extjs/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tohir.co.za</link>
	<description></description>
	<lastBuildDate>Sat, 04 Sep 2010 06:05:49 +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>How to use ExtJS Abstract functions</title>
		<link>http://www.tohir.co.za/2009/09/22/how-to-use-extjs-abstract-functions/</link>
		<comments>http://www.tohir.co.za/2009/09/22/how-to-use-extjs-abstract-functions/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 12:35:44 +0000</pubDate>
		<dc:creator>Tohir</dc:creator>
				<category><![CDATA[ExtJS]]></category>

		<guid isPermaLink="false">http://www.tohir.co.za/?p=332</guid>
		<description><![CDATA[For some methods in ExtJS, you will see: Class Ext.grid.GridDragZone &#8230; onDrag( Event e ) : void Abstract method called during the onMouseMove event while dragging an object. Parameters: e : Event the mousemove event Returns:Class Ext.grid.GridDragZone void In this case, GridDragZone is part of GridView which is part of GridPanel. Accessing it will be, [...]]]></description>
			<content:encoded><![CDATA[<p>For some methods in ExtJS, you will see:</p>
<blockquote style="border: 1px solid #000; background-color: #FFFFF0">
<h1>Class Ext.grid.GridDragZone</h1>
<p>&#8230;</p>
<h2>onDrag( Event e ) : void</h2>
<p>Abstract method called during the onMouseMove event while dragging an object.</p>
<p>Parameters:</p>
<p>e : Event</p>
<p>the mousemove event</p>
<p>Returns:Class Ext.grid.GridDragZone</p>
<p>void</p></blockquote>
<p>In this case, GridDragZone is part of GridView which is part of GridPanel. Accessing it will be, GridPanel-&gt;GridView-&gt;GridDragZone.</p>
<p>The GridDragZone gets implemented for a GridPanel when you set enableDragDrop to true, but it only becomes available when the grid renders, so:</p>
<pre>var grid = new Ext.grid.GridPanel({
    // etc
});</pre>
<pre>grid.on('render', function(obj) {
    obj.getView().dragZone.onDrag=function(evt){
        alert('being dragged');
    }
});</pre>
<p><map name='google_ad_map_332_d66c8ad2bfa7c2ab'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/332?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_332_d66c8ad2bfa7c2ab' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=332&amp;url= http%3A%2F%2Fwww.tohir.co.za%2F2009%2F09%2F22%2Fhow-to-use-extjs-abstract-functions%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.tohir.co.za/2009/09/22/how-to-use-extjs-abstract-functions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
