<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: GWT-Ext Store to SmartGWT DataSource</title>
	<atom:link href="http://abhijeetmaharana.com/blog/2008/12/07/gwt-ext-store-to-smartgwt-datasource/feed/" rel="self" type="application/rss+xml" />
	<link>http://abhijeetmaharana.com/blog/2008/12/07/gwt-ext-store-to-smartgwt-datasource/</link>
	<description></description>
	<lastBuildDate>Sun, 18 Jul 2010 18:26:27 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jason</title>
		<link>http://abhijeetmaharana.com/blog/2008/12/07/gwt-ext-store-to-smartgwt-datasource/comment-page-1/#comment-15578</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Thu, 29 Apr 2010 13:18:36 +0000</pubDate>
		<guid isPermaLink="false">http://abhijeetmaharana.com/blog/?p=68#comment-15578</guid>
		<description>Hi,

I am using a GridView with GridPanel.  Does anyone know the counterpart of it in SmartGwt?

Thanks!</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am using a GridView with GridPanel.  Does anyone know the counterpart of it in SmartGwt?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oyeniyi</title>
		<link>http://abhijeetmaharana.com/blog/2008/12/07/gwt-ext-store-to-smartgwt-datasource/comment-page-1/#comment-14610</link>
		<dc:creator>Oyeniyi</dc:creator>
		<pubDate>Thu, 04 Mar 2010 16:39:07 +0000</pubDate>
		<guid isPermaLink="false">http://abhijeetmaharana.com/blog/?p=68#comment-14610</guid>
		<description>Your ListGrid printGrid  has no ListGridFields. You need to have list grid fields that correspond to the data source fields in the data source. Hope this helps.</description>
		<content:encoded><![CDATA[<p>Your ListGrid printGrid  has no ListGridFields. You need to have list grid fields that correspond to the data source fields in the data source. Hope this helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emanuel</title>
		<link>http://abhijeetmaharana.com/blog/2008/12/07/gwt-ext-store-to-smartgwt-datasource/comment-page-1/#comment-14000</link>
		<dc:creator>Emanuel</dc:creator>
		<pubDate>Mon, 01 Feb 2010 09:39:16 +0000</pubDate>
		<guid isPermaLink="false">http://abhijeetmaharana.com/blog/?p=68#comment-14000</guid>
		<description>Hello. I&#039;m working on an application with gwt-ext. Now I&#039;m trying to copy the store from the grid to a smartGwt DataSource and then into a smartGwt ListGrid.

I tryed to use the way, Abhijeet is showing above.

This is my code:

        DataSource dataSource = new DataSource();
        dataSource.setClientOnly(true);
        Store store = reportGrid.getStore();             //gets the store from GWT EXT grid
        String [] fields = store.getFields();
        Record[] records = store.getRecords();
        
        for(String field:fields){
        	DataSourceField  smartgwtField = new DataSourceField();
        	smartgwtField.setName(field);
        	dataSource.addField(smartgwtField);
        }
        
        for(Record gwtRecord : records){
        	ListGridRecord smrtRecord = new ListGridRecord();
        	for(String field : fields){
        		smrtRecord.setAttribute(field, gwtRecord.getAsString(field));
        	}
        	dataSource.addData(smrtRecord);
        }
        
        ListGrid printGrid = new ListGrid();
        printGrid.setHeight(Window.getClientHeight()-50);
        printGrid.setDataSource(dataSource);

	SectionStack printStack = new SectionStack();
	printStack.setVisibilityMode(VisibilityMode.MULTIPLE);
        printStack.setWidth(Window.getClientWidth()-50);  
        printStack.setHeight(Window.getClientHeight()-50); 
        
        SectionStackSection costAreaSection = new SectionStackSection(&quot;CostArea&quot;);
        costAreaSection.setExpanded(true);
        costAreaSection.addItem(printGrid);
        printStack.addSection(costAreaSection);
        
        
        VLayout printContainer = new VLayout(10);
        printContainer.addMember(printStack);
        printContainer.draw();

So I don&#039;t know why it won&#039;t work.</description>
		<content:encoded><![CDATA[<p>Hello. I&#8217;m working on an application with gwt-ext. Now I&#8217;m trying to copy the store from the grid to a smartGwt DataSource and then into a smartGwt ListGrid.</p>
<p>I tryed to use the way, Abhijeet is showing above.</p>
<p>This is my code:</p>
<p>        DataSource dataSource = new DataSource();<br />
        dataSource.setClientOnly(true);<br />
        Store store = reportGrid.getStore();             //gets the store from GWT EXT grid<br />
        String [] fields = store.getFields();<br />
        Record[] records = store.getRecords();</p>
<p>        for(String field:fields){<br />
        	DataSourceField  smartgwtField = new DataSourceField();<br />
        	smartgwtField.setName(field);<br />
        	dataSource.addField(smartgwtField);<br />
        }</p>
<p>        for(Record gwtRecord : records){<br />
        	ListGridRecord smrtRecord = new ListGridRecord();<br />
        	for(String field : fields){<br />
        		smrtRecord.setAttribute(field, gwtRecord.getAsString(field));<br />
        	}<br />
        	dataSource.addData(smrtRecord);<br />
        }</p>
<p>        ListGrid printGrid = new ListGrid();<br />
        printGrid.setHeight(Window.getClientHeight()-50);<br />
        printGrid.setDataSource(dataSource);</p>
<p>	SectionStack printStack = new SectionStack();<br />
	printStack.setVisibilityMode(VisibilityMode.MULTIPLE);<br />
        printStack.setWidth(Window.getClientWidth()-50);<br />
        printStack.setHeight(Window.getClientHeight()-50); </p>
<p>        SectionStackSection costAreaSection = new SectionStackSection(&#8220;CostArea&#8221;);<br />
        costAreaSection.setExpanded(true);<br />
        costAreaSection.addItem(printGrid);<br />
        printStack.addSection(costAreaSection);</p>
<p>        VLayout printContainer = new VLayout(10);<br />
        printContainer.addMember(printStack);<br />
        printContainer.draw();</p>
<p>So I don&#8217;t know why it won&#8217;t work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abhijeet Maharana</title>
		<link>http://abhijeetmaharana.com/blog/2008/12/07/gwt-ext-store-to-smartgwt-datasource/comment-page-1/#comment-8830</link>
		<dc:creator>Abhijeet Maharana</dc:creator>
		<pubDate>Thu, 16 Jul 2009 18:14:49 +0000</pubDate>
		<guid isPermaLink="false">http://abhijeetmaharana.com/blog/?p=68#comment-8830</guid>
		<description>Hi Kaushal, the answer to this really depends on what you are trying to achieve and your target environment. There are many variables that need to be considered before making a decision. I recommend that you check both the forums out. You will be able to take a balanced decision after following the related discussions on the forums.</description>
		<content:encoded><![CDATA[<p>Hi Kaushal, the answer to this really depends on what you are trying to achieve and your target environment. There are many variables that need to be considered before making a decision. I recommend that you check both the forums out. You will be able to take a balanced decision after following the related discussions on the forums.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kaushal</title>
		<link>http://abhijeetmaharana.com/blog/2008/12/07/gwt-ext-store-to-smartgwt-datasource/comment-page-1/#comment-8823</link>
		<dc:creator>Kaushal</dc:creator>
		<pubDate>Thu, 16 Jul 2009 12:12:50 +0000</pubDate>
		<guid isPermaLink="false">http://abhijeetmaharana.com/blog/?p=68#comment-8823</guid>
		<description>I&#039;m working on Java application in which I’ve to use either ‘GWT-Ext’ or ‘Smart GWT’.

I’m totally new face to Java World &amp; i don’t know , which tool I’ve to use for developing an application.

I read somewhere that GWT-Ext would require some kind of license &amp; it’s old compare to ‘Smart GWT’.

I would require your opinion for this. Can you please tell me that what should I use? ‘GWT-Ext’ or ‘Smart GWT’ ?

Your suggestion would be appreciated.</description>
		<content:encoded><![CDATA[<p>I&#8217;m working on Java application in which I’ve to use either ‘GWT-Ext’ or ‘Smart GWT’.</p>
<p>I’m totally new face to Java World &amp; i don’t know , which tool I’ve to use for developing an application.</p>
<p>I read somewhere that GWT-Ext would require some kind of license &amp; it’s old compare to ‘Smart GWT’.</p>
<p>I would require your opinion for this. Can you please tell me that what should I use? ‘GWT-Ext’ or ‘Smart GWT’ ?</p>
<p>Your suggestion would be appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abhijeet Maharana</title>
		<link>http://abhijeetmaharana.com/blog/2008/12/07/gwt-ext-store-to-smartgwt-datasource/comment-page-1/#comment-4742</link>
		<dc:creator>Abhijeet Maharana</dc:creator>
		<pubDate>Tue, 17 Feb 2009 14:08:28 +0000</pubDate>
		<guid isPermaLink="false">http://abhijeetmaharana.com/blog/?p=68#comment-4742</guid>
		<description>Hi xaxera, I wont be able to test this code. Try posting your query in the gwt-ext forums at http://gwt-ext.com/forum. I am positive someone there must have an explanation.

Regards,
Abhijeet.</description>
		<content:encoded><![CDATA[<p>Hi xaxera, I wont be able to test this code. Try posting your query in the gwt-ext forums at <a href="http://gwt-ext.com/forum" rel="nofollow" class="extlink">http://gwt-ext.com/forum</a>. I am positive someone there must have an explanation.</p>
<p>Regards,<br />
Abhijeet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xaxera</title>
		<link>http://abhijeetmaharana.com/blog/2008/12/07/gwt-ext-store-to-smartgwt-datasource/comment-page-1/#comment-4712</link>
		<dc:creator>xaxera</dc:creator>
		<pubDate>Mon, 16 Feb 2009 11:38:59 +0000</pubDate>
		<guid isPermaLink="false">http://abhijeetmaharana.com/blog/?p=68#comment-4712</guid>
		<description>I have another problem:
I want to load store from xml to a combobox and use it as suggestion
Could You give one very simple example how to do that?

My Code is:

HttpProxy dataProxy = new HttpProxy(&quot;data/alerts.xml&quot;);
        final String resultTpl = &quot;{SerialKey}&quot;;   
        RecordDef alertsRecordDef =  
                new RecordDef(new FieldDef[] { new IntegerFieldDef(&quot;SerialKey&quot;,&quot;SerialKey&quot;)});
        XmlReader xmlreader = new XmlReader(&quot;Alert&quot;,alertsRecordDef);
        xmlreader.setRecord(&quot;Alert&quot;);
   
        Store store = new Store(dataProxy, xmlreader);
        store.load();
        Record[] records = store.getRecords();
        int recordNum = records.length;
        MessageBox.alert(recordNum+&quot;&quot;);
        ComboBox cb = new ComboBox();   
        cb.setStore(store);   
        cb.setDisplayField(&quot;SerialKey&quot;);   
        cb.setId(&quot;SerialKey&quot;);
        cb.setTypeAhead(false);   
        cb.setLoadingText(&quot;Searching...&quot;);  
        cb.setFieldLabel(&quot;SerialKey&quot;);
        cb.setWidth(130);   
        cb.setTpl(resultTpl);
        cb.setPageSize(10);   
        cb.setHideTrigger(false);   
        cb.setMode(ComboBox.REMOTE);
        cb.setLazyRender(true);
        
        cb.setTitle(&quot;Alerts&quot;);   
        //cb.setHideLabel(true);   
        cb.setItemSelector(&quot;div.search-item&quot;); 
        
        RootPanel.get().add(cb);

this code gives me 0 records!
Please help!</description>
		<content:encoded><![CDATA[<p>I have another problem:<br />
I want to load store from xml to a combobox and use it as suggestion<br />
Could You give one very simple example how to do that?</p>
<p>My Code is:</p>
<p>HttpProxy dataProxy = new HttpProxy(&#8220;data/alerts.xml&#8221;);<br />
        final String resultTpl = &#8220;{SerialKey}&#8221;;<br />
        RecordDef alertsRecordDef =<br />
                new RecordDef(new FieldDef[] { new IntegerFieldDef(&#8220;SerialKey&#8221;,&#8221;SerialKey&#8221;)});<br />
        XmlReader xmlreader = new XmlReader(&#8220;Alert&#8221;,alertsRecordDef);<br />
        xmlreader.setRecord(&#8220;Alert&#8221;);</p>
<p>        Store store = new Store(dataProxy, xmlreader);<br />
        store.load();<br />
        Record[] records = store.getRecords();<br />
        int recordNum = records.length;<br />
        MessageBox.alert(recordNum+&#8221;");<br />
        ComboBox cb = new ComboBox();<br />
        cb.setStore(store);<br />
        cb.setDisplayField(&#8220;SerialKey&#8221;);<br />
        cb.setId(&#8220;SerialKey&#8221;);<br />
        cb.setTypeAhead(false);<br />
        cb.setLoadingText(&#8220;Searching&#8230;&#8221;);<br />
        cb.setFieldLabel(&#8220;SerialKey&#8221;);<br />
        cb.setWidth(130);<br />
        cb.setTpl(resultTpl);<br />
        cb.setPageSize(10);<br />
        cb.setHideTrigger(false);<br />
        cb.setMode(ComboBox.REMOTE);<br />
        cb.setLazyRender(true);</p>
<p>        cb.setTitle(&#8220;Alerts&#8221;);<br />
        //cb.setHideLabel(true);<br />
        cb.setItemSelector(&#8220;div.search-item&#8221;); </p>
<p>        RootPanel.get().add(cb);</p>
<p>this code gives me 0 records!<br />
Please help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xaxera</title>
		<link>http://abhijeetmaharana.com/blog/2008/12/07/gwt-ext-store-to-smartgwt-datasource/comment-page-1/#comment-4711</link>
		<dc:creator>xaxera</dc:creator>
		<pubDate>Mon, 16 Feb 2009 11:36:45 +0000</pubDate>
		<guid isPermaLink="false">http://abhijeetmaharana.com/blog/?p=68#comment-4711</guid>
		<description>Maybe there isn&#039;t!I dealt with the problem by getting all records using store.getRecords() and by manually persisting and updating them!</description>
		<content:encoded><![CDATA[<p>Maybe there isn&#8217;t!I dealt with the problem by getting all records using store.getRecords() and by manually persisting and updating them!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abhijeet Maharana</title>
		<link>http://abhijeetmaharana.com/blog/2008/12/07/gwt-ext-store-to-smartgwt-datasource/comment-page-1/#comment-4706</link>
		<dc:creator>Abhijeet Maharana</dc:creator>
		<pubDate>Mon, 16 Feb 2009 08:26:10 +0000</pubDate>
		<guid isPermaLink="false">http://abhijeetmaharana.com/blog/?p=68#comment-4706</guid>
		<description>Store..getModifiedRecords() combined with RPC?
I am not sure if Store provides any direct way to integrate with the backend such that modified data is automatically saved.</description>
		<content:encoded><![CDATA[<p>Store..getModifiedRecords() combined with RPC?<br />
I am not sure if Store provides any direct way to integrate with the backend such that modified data is automatically saved.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xaxera</title>
		<link>http://abhijeetmaharana.com/blog/2008/12/07/gwt-ext-store-to-smartgwt-datasource/comment-page-1/#comment-4694</link>
		<dc:creator>xaxera</dc:creator>
		<pubDate>Sun, 15 Feb 2009 12:57:59 +0000</pubDate>
		<guid isPermaLink="false">http://abhijeetmaharana.com/blog/?p=68#comment-4694</guid>
		<description>Is there a way to submit changes in the store to the database and how?
I am using GWT Ext and still haven&#039;t migrated to smart GWT because of the incompatibility between those 2 libs.
My question is how to submit changes in the store or datasource to the database!</description>
		<content:encoded><![CDATA[<p>Is there a way to submit changes in the store to the database and how?<br />
I am using GWT Ext and still haven&#8217;t migrated to smart GWT because of the incompatibility between those 2 libs.<br />
My question is how to submit changes in the store or datasource to the database!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
