Adobe Dreamweaver Forums



Last 10 THreads :         Variable for Loader Content (Last Post : Sea Crystal - Replies : 0 - Views : 1 )           »          left join won't work in query of query? (Last Post : Dan Bracuk - Replies : 5 - Views : 6 )           »          fireworks exports hundreds of files (Last Post : Rob Miller - Replies : 0 - Views : 1 )           »          Fireworks Color Selection Bug (Last Post : Linda Rathgeber - Replies : 3 - Views : 4 )           »          DIV in Table not working. (Last Post : Jay Jay - Replies : 12 - Views : 13 )           »          Library is missing names from splitter bar (Last Post : Mad Dog - Replies : 11 - Views : 12 )           »          pop up blocker jacking my login (Last Post : Jay Jay - Replies : 5 - Views : 6 )           »          Can Anyone Help With Sub Menus (Last Post : drafted - Replies : 7 - Views : 8 )           »          Why is this not working!!! (Last Post : Boxing Boom - Replies : 11 - Views : 12 )           »          CF8 Enterprise gives 500 errors (Last Post : BJFranz - Replies : 0 - Views : 1 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Flex
 
Tags:



Reply
  #1 (permalink)  
Old 11-21-2008, 09:24 AM
rkcy
 
Posts: n/a
Diggs:
Default Advanced datagrid using Remote Objects

Hi,

I have tried the DataGris using Remote Objects, it is working fine and getting
the database tables.

Now the Problem is, Same code i am reuisng and changed to Advanced DataGrid,
It is throwing Error.

Error:

Error /FlexProduct.mxml:8
Could not resolve <mx:AdvancedDataGrid> to a component implementation.


7:
8: <mx:AdvancedDataGrid dataProvider="{srv.getProducts.lastResult}"
width="100%" height="100%">
9:

I have attached all the Code as attachment. Please lookup the code and help me
on the same.


Can you please any one help me on the same ..it is very urgent for me to
develop teh Advanced DataGrid.




<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">

<mx:RemoteObject id="srv" destination="product" />
<mx:Panel height="100%" width="100%" layout="vertical">


<mx:AdvancedDataGrid dataProvider="{srv.getProducts.lastResult}" width="100%"
height="100%">

<mx:groupedColumns>

<mx:AdvancedDataGridColumn headerText="NAME" dataField="name"/>
<mx:AdvancedDataGridColumn headerText="CATAGORY" dataField="category"/>
<mx:AdvancedDataGridColumn headerText="IMAGE" dataField="image"/>
<mx:AdvancedDataGridColumn headerText="PRICE" dataField="price"/>
<mx:AdvancedDataGridColumn headerText="DESCRIPTION"
dataField="description"/>
<mx:AdvancedDataGridColumn headerText="ProductID" dataField="product_id"/>
</mx:groupedColumns>

</mx:AdvancedDataGrid>


<mx:Button label="Get Data" click="srv.getProducts()"/>
</mx:Panel>
</mx:Application>



Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-21-2008, 02:53 PM
Amy Blankenship
 
Posts: n/a
Diggs:
Default Re: Advanced datagrid using Remote Objects


"rkcy" <webforumsuser@macromedia.com> wrote in message
news:gg5uh1$4m7$1@forums.macromedia.com...
> Hi,
>
> I have tried the DataGris using Remote Objects, it is working fine and
> getting
> the database tables.
>
> Now the Problem is, Same code i am reuisng and changed to Advanced
> DataGrid,
> It is throwing Error.
>
> Error:
>
> Error /FlexProduct.mxml:8
> Could not resolve <mx:AdvancedDataGrid> to a component implementation.
>
>
> 7:
> 8: <mx:AdvancedDataGrid dataProvider="{srv.getProducts.lastResult}"
> width="100%" height="100%">
> 9:


What version of the SDK are you using, and does it match your version of
Flex Builder Pro?


Reply With Quote
  #3 (permalink)  
Old 11-21-2008, 04:42 PM
rkcy
 
Posts: n/a
Diggs:
Default Re: Advanced datagrid using Remote Objects

Hi,

I am using Flex Builder 3.0 and Flex SDK also 3.0.

Both the versions same.
Reply With Quote


  #4 (permalink)  
Old 11-21-2008, 05:03 PM
Amy Blankenship
 
Posts: n/a
Diggs:
Default Re: Advanced datagrid using Remote Objects


"rkcy" <webforumsuser@macromedia.com> wrote in message
news:gg6o1e$5ml$1@forums.macromedia.com...
> Hi,
>
> I am using Flex Builder 3.0 and Flex SDK also 3.0.
>
> Both the versions same.


Not sure then. Every time I've heard of this error, it's someone trying to
use a Flex SDK release that isn't supported by their current version of Flex
Builder Pro.


Reply With Quote
  #5 (permalink)  
Old 11-21-2008, 08:03 PM
rkcy
 
Posts: n/a
Diggs:
Default Re: Advanced datagrid using Remote Objects

Actually i need to develop Tree Grid using Advanced Data Grid with remote
Objects. But the Tree nodes has to come from Database. Can any one please send
me the example code, how to do this same.

So At first i developed the Data Grid and get the values from the Database. It
is working fine. Now i implement the Advanced data Grid in the same below code,
it is not working.

Reply With Quote
  #6 (permalink)  
Old 11-21-2008, 08:03 PM
rkcy
 
Posts: n/a
Diggs:
Default Re: Advanced datagrid using Remote Objects

It is Quite urgent for me..please anyone send the example, how to s any one send the Examples how to populate the sub tree nodes dynamically when click on the main expand button.
Reply With Quote


  #7 (permalink)  
Old 11-21-2008, 08:35 PM
Amy Blankenship
 
Posts: n/a
Diggs:
Default Re: Advanced datagrid using Remote Objects


"rkcy" <webforumsuser@macromedia.com> wrote in message
news:gg742q$kd3$1@forums.macromedia.com...
> It is Quite urgent for me..please anyone send the example, how to s any
> one send the Examples how to populate the sub tree nodes dynamically when
> click on the main expand button.


Is this an offer of employment?


Reply With Quote
  #8 (permalink)  
Old 11-23-2008, 06:54 AM
rkcy
 
Posts: n/a
Diggs:
Default Re: Advanced datagrid using Remote Objects

No..This is for my training.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 11:06 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Cheap Car Insurance - Compare Motor Insurance
Endsleigh Car Insurance Natwest Car Insurance
More Than Car Insurance Norwich Union Car Insurance
Prudential Car Insurance Zurich Car Insurance
Inactive Reminders By Mished.co.uk