Satish,

You can create your own example by creating a Flex project with ASP.Net - 
Create a Flex Project, Choose Asp.Net as the application server type. Once your 
project is created, choose the Data menu Item and then Create Application from 
Database. Create a connection to your database, choose a table, etc. 

I've been known to use the generated code just as a starting point to save time 
and then to modify it drastically.  I don't think that the code generated this 
way is great but it's a decent way to learn how the code works. 

The web service calls should return array collections, not tables and the 
generated code on the flex side re-loads the tables every time that you make a 
change, including sorts so requires some tweeks and it's bloody slow. I happen 
to be working on some demo examples for my own  purposes, and have also cobbled 
together some code to upload files and to login. 

A. Resa Jones

--- In [email protected], Satish Chowdary <chinnu_...@...> wrote:
>
> Hi All,
> 
> could u please provide the information about how to integrate FLEX 
> application with .NET Environment..
> sending sample code appreciated 
> 
>  
> Thanks inAdvance
> సతీష్
> 
> 
> 
> 
> ________________________________
> From: golnooshp <golnoo...@...>
> To: [email protected]
> Sent: Monday, 29 June, 2009 3:43:39 PM
> Subject: [flexcoders] How to add custom sorting to AdvancedDataGrid to worked 
> on grouped Data?
> 
> 
> 
> 
> 
> Hi,
> I have an advancedDataGrid that I need to add custom sorting to it which 
> overrides the original sort! my sorting should work using a combobox to 
> select ascending and desending from with a sort button! I know this is a bug 
> in flex that its original sorting only works in hierarchical data and not for 
> groupingCollection
> the dataProvider of my grid is a flat data. however, in the UI, the user can 
> add grouping to the AdvancedDataGrid. so I want the sort to work on grouped 
> data! 
> let's say the columns are : country, province, city. population and there is 
> grouping on country and province 
> so the sorting should do the following: 
> 1) if the user does a descending sort on country: only unitedStates will go 
> up and Canada will go down.
> 2)if the user does a descending sort on province: the order of the grouping 
> of province will change to Quebec, Ontario, British Columbia
> 3) if the user does a soring on city: although this is not a grouped column, 
> it should do the sorting on all the cities.
> 
> Thanks,
> 
> 
>    
> 
> 
>       Cricket on your mind? Visit the ultimate cricket website. Enter 
> http://cricket.yahoo.com
>


Reply via email to