<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title><![CDATA[Sencha Forum - Ext: Q&A]]></title>
		<link>http://www.sencha.com/forum/</link>
		<description>Get helpful answers from community members using Ext JS.</description>
		<language>en</language>
		<lastBuildDate>Sun, 19 May 2013 06:57:59 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.sencha.com/forum/images/misc/rss.png</url>
			<title><![CDATA[Sencha Forum - Ext: Q&A]]></title>
			<link>http://www.sencha.com/forum/</link>
		</image>
		<item>
			<title>A Grid Date field issue</title>
			<link>http://www.sencha.com/forum/showthread.php?263981-A-Grid-Date-field-issue&amp;goto=newpost</link>
			<pubDate>Sat, 18 May 2013 23:00:38 GMT</pubDate>
			<description>I am having trouble with a date field being displayed in a grid. I am using php to do the query and return my data in json format. The database is...</description>
			<content:encoded><![CDATA[<div>I am having trouble with a date field being displayed in a grid. I am using php to do the query and return my data in json format. The database is SQL Server. The date is coming back in the json file as:<br />
&quot;TERMDATE&quot;:{&quot;date&quot;:&quot;2013-02-13 00:00:00&quot;,&quot;timezone_type&quot;:3,&quot;timezone&quot;:&quot;America\/New_York&quot;}<br />
<br />
this is just the date field, there are other fields in the row and they all display properly.<br />
I just want to display the date, should I be doing something in my php file or is there a way to pull the date out of what is being sent. The date field displays as [object Object] when the grid is refreshed.</div>

 ]]></content:encoded>
			<category domain="http://www.sencha.com/forum/forumdisplay.php?87-Ext-Q-amp-A"><![CDATA[Ext: Q&A]]></category>
			<dc:creator>rmolds</dc:creator>
			<guid isPermaLink="true">http://www.sencha.com/forum/showthread.php?263981-A-Grid-Date-field-issue</guid>
		</item>
		<item>
			<title>How to Close viewport</title>
			<link>http://www.sencha.com/forum/showthread.php?263980-How-to-Close-viewport&amp;goto=newpost</link>
			<pubDate>Sat, 18 May 2013 19:32:45 GMT</pubDate>
			<description>I have a login(window) screen and menu which is viewport in my application. In my menu, I have LogOff button. On click of the button I wanted to...</description>
			<content:encoded><![CDATA[<div>I have a login(window) screen and menu which is viewport in my application. In my menu, I have LogOff button. On click of the button I wanted to remove the viewport and display the Login screen.<br />
I am using the below code in the LogOff button click event<br />
<br />
button.up('viewport').removeAll(); <br />
var l=Ext.create('TestApp.view.Login');<br />
l.show();<br />
<br />
The above code while executing calls the &quot;afterlayout&quot; event of the viewport and gives error.<br />
<br />
Please help me to close the viewport.<br />
Thanks</div>

 ]]></content:encoded>
			<category domain="http://www.sencha.com/forum/forumdisplay.php?87-Ext-Q-amp-A"><![CDATA[Ext: Q&A]]></category>
			<dc:creator>chakra1234</dc:creator>
			<guid isPermaLink="true">http://www.sencha.com/forum/showthread.php?263980-How-to-Close-viewport</guid>
		</item>
		<item>
			<title>Window, Form, Tabpanel and Scrollbar - do they work together?</title>
			<link>http://www.sencha.com/forum/showthread.php?263978-Window-Form-Tabpanel-and-Scrollbar-do-they-work-together&amp;goto=newpost</link>
			<pubDate>Sat, 18 May 2013 17:31:56 GMT</pubDate>
			<description>Hello, guys! Please help, if you know how. I have the simplest test case of a window with a form which contains a tabpanel. This is the only...</description>
			<content:encoded><![CDATA[<div>Hello, guys! Please help, if you know how. I have the simplest test case of a window with a form which contains a tabpanel. This is the only structure which made it possible to have a nice scrollbar inside tabpanels. But with this structure I'm unable to submit my form, I just can't get it. Previously, I did it like this Ext.getCmp('myform').getForm() and everything was fine. But now my task is to get a form which may contain multiple tabs with scrollbars - in case, when the content is larger than the size of a window. As I said, now everything works except one thing - I'm unable to send my form. The little code is:<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">Ext.create('Ext.window.Window',{<br />
&nbsp; &nbsp; &nbsp; &nbsp; xtype:'form',<br />
&nbsp; &nbsp; &nbsp; &nbsp; id:'myform',<br />
&nbsp; &nbsp; &nbsp; &nbsp; layout:'fit',<br />
&nbsp; &nbsp; &nbsp; &nbsp; width:500,<br />
&nbsp; &nbsp; &nbsp; &nbsp; height:150,<br />
&nbsp; &nbsp; &nbsp; &nbsp; items:[{<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; xtype:'tabpanel',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; activeTab:0,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; items:[{<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; title:'tab1',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; xtype:'panel',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; layout:'anchor',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; autoScroll:true,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; items: [{<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  xtype:'datefield',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  fieldLabel:'Label',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  anchor:'100%',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  name:'field1'<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; },{<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  xtype:'datefield',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  fieldLabel:'Label',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  anchor:'100%',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  name:'field2'<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; },{<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  xtype:'datefield',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  fieldLabel:'Label',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  anchor:'100%',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  name:'field3'<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }]<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }]<br />
&nbsp; &nbsp; &nbsp; &nbsp; }],<br />
&nbsp; &nbsp; &nbsp; &nbsp; buttons:[{<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; text:'OK',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; handler:function(btn){<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  var frm=Ext.getCmp('myform').getForm(); // this is not working<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  // the error message is - getForm is not a function<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; }]<br />
&nbsp; &nbsp; }).show();</code><hr />
</div> Thank you!<br />
<br />
PS. If I create an independent form component and put it inside the window, I lose my scrollbar functionality. Scrollbars just do not show up.</div>

 ]]></content:encoded>
			<category domain="http://www.sencha.com/forum/forumdisplay.php?87-Ext-Q-amp-A"><![CDATA[Ext: Q&A]]></category>
			<dc:creator>vicvolk87</dc:creator>
			<guid isPermaLink="true">http://www.sencha.com/forum/showthread.php?263978-Window-Form-Tabpanel-and-Scrollbar-do-they-work-together</guid>
		</item>
		<item>
			<title>Combobox Select Default When Using Remote, Paged Store?</title>
			<link>http://www.sencha.com/forum/showthread.php?263947-Combobox-Select-Default-When-Using-Remote-Paged-Store&amp;goto=newpost</link>
			<pubDate>Fri, 17 May 2013 22:10:29 GMT</pubDate>
			<description>I am attempting to use a combobox in a form. The store that the combobox is bound to could potentially hold thousands of records. Therefore, I want...</description>
			<content:encoded><![CDATA[<div>I am attempting to use a combobox in a form. The store that the combobox is bound to could potentially hold thousands of records. Therefore, I want to use the paging and remote features of the combobox. I have this working and it works beautifully.<br />
<br />
The problem comes when I need to set a default value on the combobox (when the user needs to edit a model instead of add). I have the pageSize set to 50. Using setValue() works fine IF the record I am selecting is on the first page of the store. But, I am running into issues if the model is on other pages. setValue() won't work because it only searches what is currently loaded in the store (and any records past 50 are not loaded).<br />
<br />
I have been searching for a way to perform this action all afternoon and finally decided it was time to post after making little to no progress...<br />
<br />
Here is a jsfiddle of the problem in action:  <a href="http://jsfiddle.net/mgolus/Z3Jpy/" target="_blank" rel="nofollow">http://jsfiddle.net/mgolus/Z3Jpy/</a><br />
You can change the id of the vendor by uncommenting/commenting out the two lines at the top</div>

 ]]></content:encoded>
			<category domain="http://www.sencha.com/forum/forumdisplay.php?87-Ext-Q-amp-A"><![CDATA[Ext: Q&A]]></category>
			<dc:creator>mgolus</dc:creator>
			<guid isPermaLink="true">http://www.sencha.com/forum/showthread.php?263947-Combobox-Select-Default-When-Using-Remote-Paged-Store</guid>
		</item>
		<item>
			<title>Store write array under a property name</title>
			<link>http://www.sencha.com/forum/showthread.php?263941-Store-write-array-under-a-property-name&amp;goto=newpost</link>
			<pubDate>Fri, 17 May 2013 19:12:37 GMT</pubDate>
			<description><![CDATA[I have a model like this: 
 
 
 
Code: 
--------- 
Ext.define('Policy', { 
    extend: 'Ext.data.Model',]]></description>
			<content:encoded><![CDATA[<div>I have a model like this:<br />
<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">Ext.define('Policy', {<br />
&nbsp; &nbsp; extend: 'Ext.data.Model',<br />
<br />
<br />
&nbsp; &nbsp; fields: [<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; name: 'id',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; type: 'sting',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; phantom: true,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; convert: function(value, record) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return record.get('a') + '@' +<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; record.get('b');<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; },<br />
&nbsp; &nbsp; &nbsp; &nbsp; {name: 'a', type: 'string'},<br />
&nbsp; &nbsp; &nbsp; &nbsp; {name: 'b', type: 'string'}]<br />
});</code><hr />
</div> Where the PK of each record is <b>a</b> and <b>b</b>. The store looks like this:<br />
<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">Ext.define('Store', {<br />
&nbsp; &nbsp; extend: 'Ext.data.Store',<br />
&nbsp; &nbsp; model: 'Policy', <br />
&nbsp; &nbsp; autoLoad: true,<br />
<br />
<br />
&nbsp; &nbsp; proxy: {<br />
&nbsp; &nbsp; &nbsp; &nbsp; type: 'rest',<br />
&nbsp; &nbsp; &nbsp; &nbsp; simpleSortMode: true,<br />
&nbsp; &nbsp; &nbsp; &nbsp; batchActions: true,<br />
&nbsp; &nbsp; &nbsp; &nbsp; reader: {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; type: 'json',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; root: 'data',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; idProperty: 'id'<br />
&nbsp; &nbsp; &nbsp; &nbsp; },<br />
&nbsp; &nbsp; &nbsp; &nbsp; writer: {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nameProperty: 'mapping'<br />
&nbsp; &nbsp; &nbsp; &nbsp; },<br />
&nbsp; &nbsp; &nbsp; &nbsp; api: {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; create:'/batch',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; read: '/policies',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; update: '/batch',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; destroy: '/batch'<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; }<br />
});</code><hr />
</div> <b>How can I configure the store so that when it POSTS to /batch when calling store.sync(), the payload looks like this and only consists of dirty records</b>:<br />
<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">{<br />
&nbsp; &nbsp; &quot;policies&quot;: [{<br />
&nbsp; &nbsp; &nbsp; &nbsp; &quot;a&quot;: &quot;AA&quot;,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &quot;b&quot;: &quot;BB&quot;,<br />
&nbsp; &nbsp; }, {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &quot;a&quot;: &quot;AAA&quot;,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &quot;b&quot;: &quot;BBB&quot;<br />
&nbsp; &nbsp; },...]<br />
}</code><hr />
</div> where there is a policies property and under it is an array of dirty policies.</div>

 ]]></content:encoded>
			<category domain="http://www.sencha.com/forum/forumdisplay.php?87-Ext-Q-amp-A"><![CDATA[Ext: Q&A]]></category>
			<dc:creator>XPEHBAM</dc:creator>
			<guid isPermaLink="true">http://www.sencha.com/forum/showthread.php?263941-Store-write-array-under-a-property-name</guid>
		</item>
		<item>
			<title>A little confused about store.addSorted()</title>
			<link>http://www.sencha.com/forum/showthread.php?263940-A-little-confused-about-store.addSorted()&amp;goto=newpost</link>
			<pubDate>Fri, 17 May 2013 19:10:33 GMT</pubDate>
			<description><![CDATA[I have a simple little in-memory store: 
 
 
Code: 
--------- 
Ext.define('IH.store.HeadachePains', { 
            extend : 'Ext.data.Store', 
      ...]]></description>
			<content:encoded><![CDATA[<div>I have a simple little in-memory store:<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">Ext.define('IH.store.HeadachePains', {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; extend : 'Ext.data.Store',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; model : 'IH.model.HeadachePain',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; storeId : 'HeadachePains'<br />
&nbsp; &nbsp; &nbsp; &nbsp; });</code><hr />
</div> If instantiated it it like so:<br />
<br />
<font color="#0080FF"><span style="font-family: dejavu sans mono">store = Ext.StoreMgr.lookup(&quot;HeadachePains&quot;);</span></font><br />
<br />
There doesn't appear to be an addSorted() method on it.  If I call it I get a no-method error, if I browse the store in the browser console, I don't see it there either.  remoteSorting for the factory is false.  Am I missing something?  <br />
<br />
Thanks,<br />
<br />
<br />
Robert<br />
Brooklyn, USA <font color="#0080FF"><span style="font-family: dejavu sans mono"><br />
<br />
<br />
</span></font></div>

 ]]></content:encoded>
			<category domain="http://www.sencha.com/forum/forumdisplay.php?87-Ext-Q-amp-A"><![CDATA[Ext: Q&A]]></category>
			<dc:creator>rmoskal</dc:creator>
			<guid isPermaLink="true">http://www.sencha.com/forum/showthread.php?263940-A-little-confused-about-store.addSorted()</guid>
		</item>
		<item>
			<title><![CDATA[Can't launch grid view from controller]]></title>
			<link>http://www.sencha.com/forum/showthread.php?263934-Can-t-launch-grid-view-from-controller&amp;goto=newpost</link>
			<pubDate>Fri, 17 May 2013 17:52:13 GMT</pubDate>
			<description>I need to open a view from my controller, but it is not working when the view is a grid.  If I change the view to a Window, it works fine.  This is...</description>
			<content:encoded><![CDATA[<div>I need to open a view from my controller, but it is not working when the view is a grid.  If I change the view to a Window, it works fine.  This is the controller code that should launch the view...<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">Ext.widget('reportwindow', {<br />
&nbsp; &nbsp; title: tab.title<br />
});</code><hr />
</div> Here is the view (a basic grid, taken from one of the examples in the docs...<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">Ext.define('RB.view.reportWindow', {<br />
&nbsp; &nbsp; extend: 'Ext.grid.Panel',<br />
&nbsp; &nbsp; alias: 'widget.reportwindow',<br />
<br />
<br />
&nbsp; &nbsp; title: 'Users',<br />
&nbsp; &nbsp; store: {<br />
&nbsp; &nbsp; &nbsp; &nbsp; fields: ['name', 'email'],<br />
&nbsp; &nbsp; &nbsp; &nbsp; data&nbsp; : [<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {name: 'Ed',&nbsp; &nbsp; email: 'ed@sencha.com'},<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {name: 'Tommy', email: 'tommy@sencha.com'}<br />
&nbsp; &nbsp; &nbsp; &nbsp; ]<br />
&nbsp; &nbsp; },<br />
&nbsp; &nbsp; columns: [<br />
&nbsp; &nbsp; &nbsp; &nbsp; {header: 'Name',&nbsp; dataIndex: 'name',&nbsp; flex: 1},<br />
&nbsp; &nbsp; &nbsp; &nbsp; {header: 'Email', dataIndex: 'email', flex: 1}<br />
&nbsp; &nbsp; ]<br />
});</code><hr />
</div> So when I run this, I get nothing.  No errors in the log at all.  However, if I change the view to be a window component with a grid inside, it works fine.  Here is the code that works.<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">Ext.define('RB.view.reportWindow', {<br />
&nbsp; &nbsp; extend: 'Ext.window.Window',<br />
&nbsp; &nbsp; alias: 'widget.reportwindow',<br />
<br />
<br />
&nbsp; &nbsp; width: '100%',<br />
&nbsp; &nbsp; height: '100%',<br />
&nbsp; &nbsp; closable: true,<br />
&nbsp; &nbsp; minimizable: true,<br />
&nbsp; &nbsp; autoShow: true,<br />
<br />
<br />
&nbsp; &nbsp; initComponent: function() {<br />
&nbsp; &nbsp; &nbsp; &nbsp; this.callParent();<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; var grid = Ext.create('Ext.grid.Panel', {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; title: 'Users',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; store: {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fields: ['name', 'email'],<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; data&nbsp; : [<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {name: 'Ed',&nbsp; &nbsp; email: 'ed@sencha.com'},<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {name: 'Tommy', email: 'tommy@sencha.com'}<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ]<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; },<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; columns: [<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {header: 'Name',&nbsp; dataIndex: 'name',&nbsp; flex: 1},<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {header: 'Email', dataIndex: 'email', flex: 1}<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ]<br />
&nbsp; &nbsp; &nbsp; &nbsp; });<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; this.add(grid);<br />
&nbsp; &nbsp; }<br />
});</code><hr />
</div> Does anyone have any idea why this won't work for a grid?</div>

 ]]></content:encoded>
			<category domain="http://www.sencha.com/forum/forumdisplay.php?87-Ext-Q-amp-A"><![CDATA[Ext: Q&A]]></category>
			<dc:creator>john_dm</dc:creator>
			<guid isPermaLink="true">http://www.sencha.com/forum/showthread.php?263934-Can-t-launch-grid-view-from-controller</guid>
		</item>
		<item>
			<title>Combo column grid</title>
			<link>http://www.sencha.com/forum/showthread.php?263933-Combo-column-grid&amp;goto=newpost</link>
			<pubDate>Fri, 17 May 2013 17:24:19 GMT</pubDate>
			<description>Hello to all, 
 
 
            I wonder if anyone knows how I can put a combo in the title of a column. The idea is to put an option to hide one or...</description>
			<content:encoded><![CDATA[<div>Hello to all,<br />
<br />
<br />
            I wonder if anyone knows how I can put a combo in the title of a column. The idea is to put an option to hide one or more columns of the grid through this combo.</div>

 ]]></content:encoded>
			<category domain="http://www.sencha.com/forum/forumdisplay.php?87-Ext-Q-amp-A"><![CDATA[Ext: Q&A]]></category>
			<dc:creator>jose_carlos</dc:creator>
			<guid isPermaLink="true">http://www.sencha.com/forum/showthread.php?263933-Combo-column-grid</guid>
		</item>
		<item>
			<title>ISO date format</title>
			<link>http://www.sencha.com/forum/showthread.php?263925-ISO-date-format&amp;goto=newpost</link>
			<pubDate>Fri, 17 May 2013 15:08:35 GMT</pubDate>
			<description>Hi, 
 
I have a small problem with date format. 
 
I want to convert my date format to ISO format. 
I am doing like this. 
var Date =...</description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I have a small problem with date format.<br />
<br />
I want to convert my date format to ISO format.<br />
I am doing like this.<br />
var Date = Ext.Date.format(new Date(), 'c');<br />
<br />
Output: 2013-05-17T20:35:05+05:30<br />
<br />
Here I do not want to &quot;+05:30&quot; in date.<br />
<br />
So how i will remove this or what format i will set so i will get without &quot;+05:30&quot;.<br />
<br />
Please help.</div>

 ]]></content:encoded>
			<category domain="http://www.sencha.com/forum/forumdisplay.php?87-Ext-Q-amp-A"><![CDATA[Ext: Q&A]]></category>
			<dc:creator>pra123@</dc:creator>
			<guid isPermaLink="true">http://www.sencha.com/forum/showthread.php?263925-ISO-date-format</guid>
		</item>
		<item>
			<title>How do I structure my existing project code to use ExtJs4</title>
			<link>http://www.sencha.com/forum/showthread.php?263922-How-do-I-structure-my-existing-project-code-to-use-ExtJs4&amp;goto=newpost</link>
			<pubDate>Fri, 17 May 2013 14:01:02 GMT</pubDate>
			<description>I am new to ExtJS and I am trying to use the it in my current project which is developed using Java / JSP / Spring  /Hibernate. 
 
My current project...</description>
			<content:encoded><![CDATA[<div>I am new to ExtJS and I am trying to use the it in my current project which is developed using Java / JSP / Spring  /Hibernate.<br />
<br />
My current project structure is:<br />
<br />
<b>Project</b><ul><li>Src (all controllers/models/data)</li>
<li>Build</li>
<li>Web<ul><li> Css (all css files)</li>
<li> JS (all js libraries/files)</li>
<li> Images (all images)</li>
<li> Web-inf (all jsp (views))</li>
</ul></li>
</ul>I thought of adding it to the JS folder but am not sure how to best use it in the existing structure. Any help will be appreciated.<br />
Thanks,<br />
Parth</div>

 ]]></content:encoded>
			<category domain="http://www.sencha.com/forum/forumdisplay.php?87-Ext-Q-amp-A"><![CDATA[Ext: Q&A]]></category>
			<dc:creator>ppatel2</dc:creator>
			<guid isPermaLink="true">http://www.sencha.com/forum/showthread.php?263922-How-do-I-structure-my-existing-project-code-to-use-ExtJs4</guid>
		</item>
		<item>
			<title>Ext.ux.LiveSearchGridPanel data row not align with header grid</title>
			<link>http://www.sencha.com/forum/showthread.php?263921-Ext.ux.LiveSearchGridPanel-data-row-not-align-with-header-grid&amp;goto=newpost</link>
			<pubDate>Fri, 17 May 2013 13:57:41 GMT</pubDate>
			<description><![CDATA[hi, 
i have a problem with a Ext.ux.LiveSearchGridPanel. 
 
here my code definition: 
 
Ext.define('PerarHome.view.PanelGridNotification', { 
   ...]]></description>
			<content:encoded><![CDATA[<div>hi,<br />
i have a problem with a Ext.ux.LiveSearchGridPanel.<br />
<br />
here my code definition:<br />
<br />
Ext.define('PerarHome.view.PanelGridNotification', {<br />
    extend: 'Ext.ux.LiveSearchGridPanel',<br />
    alias: 'widget.panel-notification',<br />
    store: Ext.create('PerarHome.store.Notification'),<br />
    columnLines: true,<br />
    columns: [<br />
        {<br />
            text     : 'Subject',<br />
            sortable : false, <br />
            dataIndex: 'subject'<br />
        },<br />
        {<br />
            text     : 'Created On', <br />
            sortable : true, <br />
            dataIndex: 'created_on'<br />
        },<br />
        {<br />
            text     : 'Created By', <br />
            sortable : true, <br />
            dataIndex: 'created_by',<br />
        },<br />
        {<br />
            text     : 'Project ID', <br />
            sortable : true, <br />
            dataIndex: 'project_id',<br />
        },<br />
        {<br />
            text     : 'Facility', <br />
            sortable : true, <br />
            dataIndex: 'facility'<br />
        },<br />
        {<br />
            text     : 'User Assigned', <br />
            sortable : true, <br />
            dataIndex: 'user_assigned'<br />
        },<br />
        {<br />
            text     : 'User Assigned Role', <br />
            sortable : true, <br />
            dataIndex: 'user_assigned_role'<br />
        }<br />
    ],    <br />
    title: 'Notification',<br />
    viewConfig: {<br />
        stripeRows: true,<br />
    }    <br />
});<br />
<br />
and atach see result.<br />
<br />
data rows are not align with the header table... how can i fix it? thanks~o)<br />
<br />
<br />
<a href="http://www.sencha.com/forum/attachment.php?attachmentid=43851"  title="Name:  
Views: 
Size:  ">Attachment 43851</a></div>


	<div style="padding:10px">

	

	

	
		<fieldset class="fieldset">
			<legend>Attached Images</legend>
			<ul>
			<li>
	<img class="inlineimg" src="/jpg.gif" alt="File Type: jpg" />
	<a href="http://www.sencha.com/forum/attachment.php?attachmentid=43851&amp;d=1368799010">Immagine.jpg&lrm;</a> 
(48.5 KB)
</li> 
			</ul>
			</fieldset>
	

	

	</div>
 ]]></content:encoded>
			<category domain="http://www.sencha.com/forum/forumdisplay.php?87-Ext-Q-amp-A"><![CDATA[Ext: Q&A]]></category>
			<dc:creator>il Sergio</dc:creator>
			<guid isPermaLink="true">http://www.sencha.com/forum/showthread.php?263921-Ext.ux.LiveSearchGridPanel-data-row-not-align-with-header-grid</guid>
		</item>
		<item>
			<title>Read special JSON into store</title>
			<link>http://www.sencha.com/forum/showthread.php?263919-Read-special-JSON-into-store&amp;goto=newpost</link>
			<pubDate>Fri, 17 May 2013 13:34:55 GMT</pubDate>
			<description><![CDATA[Hi, 
 
I'm totally stuck at a point for a while now. Maybe I'm just too stupid to understand the idea behind the stores. I have following Json string...]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I'm totally stuck at a point for a while now. Maybe I'm just too stupid to understand the idea behind the stores. I have following Json string<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">{&nbsp; &quot;1&quot;:[0,68,65,75],<br />
&nbsp; &quot;2&quot;:[68,0,9,23],<br />
&nbsp; &quot;3&quot;:[232,343,9,24],<br />
&nbsp; &quot;4&quot;:[33,24,44,543]<br />
&nbsp;}</code><hr />
</div> And my store looks like this.<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">Ext.define('MyStore.Adjacencies', {&nbsp; &nbsp; <br />
&nbsp; &nbsp; extend: 'Ext.data.Store',<br />
&nbsp; &nbsp; storeId: 'ThemeAdjacencies',<br />
<br />
&nbsp; &nbsp; fields: [<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  name: 'theme'<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  }],<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; proxy: {<br />
&nbsp; &nbsp; &nbsp; &nbsp; type: 'ajax',<br />
&nbsp; &nbsp; &nbsp; &nbsp; url: 'data/Matrix.json',<br />
&nbsp; &nbsp; &nbsp; &nbsp; reader: {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; type: 'array',<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; }<br />
});</code><hr />
</div> But unfortunately this only reads the first line of the json. Is there an option to read the complete data?<br />
<br />
Thanks for any hints and helps.</div>

 ]]></content:encoded>
			<category domain="http://www.sencha.com/forum/forumdisplay.php?87-Ext-Q-amp-A"><![CDATA[Ext: Q&A]]></category>
			<dc:creator>clifficious</dc:creator>
			<guid isPermaLink="true">http://www.sencha.com/forum/showthread.php?263919-Read-special-JSON-into-store</guid>
		</item>
		<item>
			<title>Halt execution on displaying a custom window (Ext.window.Window) in ExtJS 4.1</title>
			<link>http://www.sencha.com/forum/showthread.php?263900-Halt-execution-on-displaying-a-custom-window-(Ext.window.Window)-in-ExtJS-4.1&amp;goto=newpost</link>
			<pubDate>Fri, 17 May 2013 09:40:35 GMT</pubDate>
			<description><![CDATA[I have an issue handling drag & drop events. 
 
  I have two grids placed side by side and I am performing drag &  drop operation from left grid(Grid...]]></description>
			<content:encoded><![CDATA[<div>I have an issue handling drag &amp; drop events.<br />
<br />
  I have two grids placed side by side and I am performing drag &amp;  drop operation from left grid(Grid A) to the right grid(Grid B). I am  using both <b>BeforeDrop</b> and <b>Drop</b> events on <i>Grid B</i>. On drag and drop of data from <i>Grid A</i> to <i>Grid B</i>, I am displaying a custom <i>Window</i> having a <i>combo box</i> in it.<br />
  The displaying of the window and selecting values in combo box using <b>Select</b> event is done in the <b>BeforeDrop</b> event and reloading the <i>Grid B's</i> store is done in the <b>Drop</b> event.<br />
  The problem is when I drag and drop the data from Grid A to Grid B, the <b>BeforeDrop</b> event is triggered where the window pops up and <b>simultaneously before even selecting the combo box data, the <i>Drop</i> event also gets triggered reloading the Grid B's store in the background</b>.<br />
<br />
  I want the <b>Drop</b> event to be triggered after I select  an item in the combo box. I want the execution to halt once the window pops and then continue execution after I select an item from combo box.<br />
<br />
Is there a way to halt the triggering process  once the window is displayed just as in case of a javascript alert? <br />
<br />
  Any Help is much appreciated..<br />
<br />
A sample code is shown below:<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">Ext.define('MyApp.view.MainPanel', {<br />
extend: 'Ext.panel.Panel',<br />
frame: false,<br />
height: 708,<br />
width: 1150,<br />
layout: {<br />
&nbsp; &nbsp; type: 'border'<br />
},<br />
title: 'MyApp',<br />
initComponent: function() {<br />
&nbsp; &nbsp; var me = this;<br />
&nbsp; &nbsp; var GridADragDrop = Ext.create('Ext.grid.plugin.DragDrop', {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ptype: 'gridviewdragdrop',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dragGroup: 'GridADDGroup',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dropGroup: ''<br />
&nbsp; &nbsp; });<br />
&nbsp; &nbsp; var GridBDragDrop = Ext.create('Ext.grid.plugin.DragDrop', {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ptype: 'gridviewdragdrop',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dragGroup: 'GridADDGroup',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dropGroup: 'GridADDGroup'<br />
&nbsp; &nbsp; });&nbsp; &nbsp;  <br />
&nbsp; &nbsp; Ext.applyIf(me, {<br />
&nbsp; &nbsp; &nbsp; &nbsp; items: [<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; xtype: 'grid',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; id: 'gridb',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; title: 'Grid B',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; store: 'GridBStore',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; viewConfig: {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; id: 'Bview',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; plugins: [GridBDragDrop],<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /*Both Events have been used for Grid B*/<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; listeners: {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; beforedrop: {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fn: me.onBeforeDrop,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; scope: me<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; },<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; drop: {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fn: me.onDrop,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; scope: me<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; },<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; columns: [<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; xtype: 'numbercolumn',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dataIndex: 'id',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; text: 'ID'<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; },<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; xtype: 'gridcolumn',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dataIndex: 'name',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; text: 'Name'<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ]<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; },<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; xtype: 'grid',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; id: 'grida',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; title: 'Grid A',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; store: 'GridAStore',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; viewConfig: {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; id: 'Aview',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; plugins: [GridADragDrop]<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; },<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; columns: [<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; xtype: 'numbercolumn',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dataIndex: 'id',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; text: 'ID'<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; },<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; xtype: 'gridcolumn',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dataIndex: 'name',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; text: 'Name'<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ]<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; ]<br />
&nbsp; &nbsp; });<br />
<br />
&nbsp; &nbsp; me.callParent(arguments);<br />
},&nbsp; <br />
onBeforeDrop: function(node, data, overModel, dropPosition, dropFunction, options) {<br />
<br />
&nbsp; &nbsp; console.log(&quot;The before drop event is triggered!!&quot;);<br />
&nbsp; &nbsp; // Creating the window<br />
&nbsp; &nbsp; var window = Ext.create('MyApp.Window');<br />
&nbsp; &nbsp; // Getting the combo box object from the window object <br />
&nbsp; &nbsp; var combobox = window.items.items[0];&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; // Adding 'select' listener to the combo box<br />
&nbsp; &nbsp; combobox.on('select', function(combo, records, options) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // I do some stuff here<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //...&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Once finished I destroy window<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; window.destroy();<br />
&nbsp; &nbsp; }); <br />
&nbsp; &nbsp; // Display the window on item drop<br />
&nbsp; &nbsp; window.show();<br />
},&nbsp;  <br />
onDrop: function(node, data, overModel, dropPosition, options) {<br />
<br />
&nbsp; &nbsp; console.log(&quot;The drop event is triggered!!&quot;);<br />
<br />
&nbsp; &nbsp; var GridB = Ext.getCmp('gridb'); // Grid B<br />
&nbsp; &nbsp; var GridBStore = GridB.getStore(); // Grid B store<br />
<br />
&nbsp; &nbsp; //Reload the GridB store once the item has been dropped<br />
&nbsp; &nbsp; GridBStore.reload();<br />
}<br />
<br />
});</code><hr />
</div> My custom window:<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">Ext.define('MyApp.Window', {<br />
extend: 'Ext.window.Window',<br />
height: 82,<br />
hidden: false,<br />
id: 'droptaskwindow',<br />
width: 171,<br />
layout: {<br />
&nbsp; &nbsp; type: 'absolute'<br />
},<br />
title: 'Create Task',<br />
modal: true,<br />
expandOnShow: false,<br />
initComponent: function() {<br />
&nbsp; &nbsp; var me = this;<br />
&nbsp; &nbsp; Ext.applyIf(me, {<br />
&nbsp; &nbsp; &nbsp; &nbsp; items : [ {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; xtype : 'combobox',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; x : 10,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; y : 10,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; id : 'combodroptask',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; width : 130,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fieldLabel : 'ID',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; labelPad : 1,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; labelWidth : 45,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; allowBlank : false,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; editable : false,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; displayField : 'Name',<br />
&nbsp; &nbsp; &nbsp; &nbsp; } ]<br />
&nbsp; &nbsp; });<br />
&nbsp; &nbsp; me.callParent(arguments);<br />
&nbsp;}<br />
});</code><hr />
</div> <br />
As and when the window pops up, both events get triggered simultaneously and message is displayed in console..<br />
<br />
The before drop event is triggered!!<br />
The drop event is triggered!!</div>

 ]]></content:encoded>
			<category domain="http://www.sencha.com/forum/forumdisplay.php?87-Ext-Q-amp-A"><![CDATA[Ext: Q&A]]></category>
			<dc:creator>Harshrossi</dc:creator>
			<guid isPermaLink="true">http://www.sencha.com/forum/showthread.php?263900-Halt-execution-on-displaying-a-custom-window-(Ext.window.Window)-in-ExtJS-4.1</guid>
		</item>
		<item>
			<title>Is the Architecture Suitable for Building Big Applications?</title>
			<link>http://www.sencha.com/forum/showthread.php?263899-Is-the-Architecture-Suitable-for-Building-Big-Applications&amp;goto=newpost</link>
			<pubDate>Fri, 17 May 2013 09:39:28 GMT</pubDate>
			<description><![CDATA[Hello All, 
 
 
I'm looking at using ExtJs to build the UI for a system with a menu and several tens of screens (it could even be a hundred). 
 
It's...]]></description>
			<content:encoded><![CDATA[<div>Hello All,<br />
<br />
<br />
I'm looking at using ExtJs to build the UI for a system with a menu and several tens of screens (it could even be a hundred).<br />
<br />
It's not clear to me if the application object is one screen or the whole system (or other)?<br />
<br />
<br />
1. If the application object is the whole system (menu, screens and all),<br />
<br />
it declares all the different models/views/controllers so they can be loaded/instantiated etc. once when launching the application.<br />
<br />
Wouldn't this be a problem if there were 100 screens with a huge number of models/views/controllers?<br />
<br />
<br />
2. If the application object is only one screen,<br />
<br />
there are many models/views/controllers that are not shared between all the different screen <br />
<br />
and it pretty much makes the code reuse for the models/views/controllers unusable, no?<br />
<br />
<br />
Thanks!</div>

 ]]></content:encoded>
			<category domain="http://www.sencha.com/forum/forumdisplay.php?87-Ext-Q-amp-A"><![CDATA[Ext: Q&A]]></category>
			<dc:creator>alonb</dc:creator>
			<guid isPermaLink="true">http://www.sencha.com/forum/showthread.php?263899-Is-the-Architecture-Suitable-for-Building-Big-Applications</guid>
		</item>
		<item>
			<title>Infinite grid with checkbox in header</title>
			<link>http://www.sencha.com/forum/showthread.php?263887-Infinite-grid-with-checkbox-in-header&amp;goto=newpost</link>
			<pubDate>Fri, 17 May 2013 04:56:02 GMT</pubDate>
			<description>Hi, I have seen that ExtJs 4.2 has the infinite grid to bring all the rows in scroll itself. Would that be possible to add checkbox in the grid...</description>
			<content:encoded><![CDATA[<div>Hi, I have seen that ExtJs 4.2 has the infinite grid to bring all the rows in scroll itself. Would that be possible to add checkbox in the grid header to select all the row in the grid. Thanks in advance</div>

 ]]></content:encoded>
			<category domain="http://www.sencha.com/forum/forumdisplay.php?87-Ext-Q-amp-A"><![CDATA[Ext: Q&A]]></category>
			<dc:creator>arulface</dc:creator>
			<guid isPermaLink="true">http://www.sencha.com/forum/showthread.php?263887-Infinite-grid-with-checkbox-in-header</guid>
		</item>
	</channel>
</rss>
