Rendezvous with technology

About

My name is Sameer Bhatt and I’m a Developer in the Flex Team in Adobe.

28 Responses to "About"

Nice Blog Sameer.
Your examples gives some insight of flex deeps.

Is it possible to drag & drop within a particular cell on a data grid – everything I have seen refers to a whole row in a data grid?

thank you.

Hi Laura,

As of now cell drag drop is not supported.
There is a bug logged for this –
http://bugs.adobe.com/jira/browse/FLEXDMV-784

Hi Sameer,
Ur Blog was very helpful.i need help from you.
How do i select all rows depending on the itemrenderer(checkbox) given in the header.
Will be happy to get help from you

Thanks,
Deepa

For selecting rows, see the selectedIndices property.
You might also want to look at a sample here

sameer
many thanks for all your blog entries. they have helped me greatly. I need to know how i can creaet a group Header renderer where the group header can have an image in the background. any help will be appreciated.

Hi sgeorge,
You can create a header renderer using Canvas, Box, etc.. as base and set the backgroundImage property to get a background image.
Add the required components to your renderer and set it as headerRenderer on the AdvancedDataGrid.

Or if you are talking about groupItemRenderer, follow the same process but be sure to dispatch the opening/closing events in the renderer. You can have a look at AdvancedDataGridGroupItemRenderer. Set groupItemRenderer property to set the renderer.

Hi

Your blog is really informative and i was really excited to know the things you can do with flex. But it seems to me that are a lot of missing pieces involved when it comes to integrating flex with other technologies. We have the following environment and we would love have flex as a front end to our application.

1) solaris

2) weblogic 8.1sp6

3) struts

4) java 1.4

5) jsp (front end) – we would like to replace this component with flex

6) Documentum(It’s a Content Management system implemented in Java)

i came across a few articles regarding flex/struts, flex/java but none were helpful. At this point i would want to write a simple application in struts in our environment with flex as front end.

Also most of our team consists of J2EE developers and we are not considering moving away from java to action script even there are many similarties between them, as our backend which is documentum has api’s in java. so java is the only way to go as far as our back end is concerned and struts has been a standard for a long time.

Any advise or help would be greatly appreciated.

Thanks,

Kaiser

Hi Kaiser,
One of my teammate who have a good knowledge about all these things will send you a mail and also post here in 2-3 days. Stay tuned.

Hi Kaiser,

Anirudh created a library using which you can convert your struts based application to use power of Flex. Please find more details about this library at this URL.

http://anirudhs.chaosnet.org/blog/2008.07.23.html

Article below describes how to provide Flex front end to your struts application

http://www.adobe.com/devnet/flex/articles/struts.html

Hope this helps.

http://sujitreddyg.wordpress.com

You’ve got some really excellent examples here! Thanks!

Hi Sameer,

I wish to seek your aquaintance as an User Experience

Deisgner working in an MNC in pune, India. I’ve recently

strated learning flex and my experience mostly is in UI

design.

I’m working on project of developing a “Employee Location

Finder” application in flex which will comprise of a map of

office layout that one can pan, zoom, drag and so on. Also

application will connect to a data base that gives me

location of each person’s cubicle. Thus application should

be able to paint over the location markers and some text.

Also, search functionality is the basic requirement in

which one can search the location using the employee name

as keyword or the location(cubicle number).

Looking at the Yahoo, Google, and other apis which have

geographical maps , projections/transformation

requirements, my questions is that how we can use flex to

build this application that uses non-geographic maps where

the map provder are the images of office layout and not the

external source. Also, would be of great help if you can

provide some resources/tutorials/source files to help me

kick start this project considering the fact that I am a

newbie.

Thanking you in anticipation of your welcoming assistance.

With BR,
Prahsant

Hi Prashant,
You can download the “Employee Directory” Application from Adobe site.

This application have similar features as mentioned in your post.
The source is also available.

Hi Sameer,

Following the post
http://blogs.adobe.com/aharui/2008/11/faster_datagrid_horizontal_scr.html of Alex, concerning the datagrid horizontal scrolling optimization, could you please port his code to the advancedDatagrid, the situation is catastrophic for me and my 30 advancedCollums =)

Thanks to you to keep me informed if you can do that =)

Best Regards,

CR

Thanks CR.
Can you log this bug here – http://bugs.adobe.com/flex/

Hi Sameer,
Is it possible to drag and drop one cell from one AdvancedDataGrid to another AdvancedDataGrid when you have selectionMode=”singleCell” ? Currently the drag and drop seems to work but then the data “disappears” from the target. Thanks for your help!

Martina
Juneau, AK

Cell drag-drop is not supported in AdvancedDataGrid. You have to implement the functionality you want while cell drag-drop yourself.
There is already a bug logged for this – http://bugs.adobe.com/jira/browse/FLEXDMV-784

Hi Sameer,
Thanks for your response. I did read the logged bug for selectionMode=”multipleCells” before I wrote to you. I was trying to use drag and drop for selectionMode=”singleCell”. Now I see that cell drag-drop is not supported at all in AdvancedDataGrid. Thanks again for the clarification. – M.

Hi Sameer,

I am new new to the Flex world. I hope u can help me in solving the problems mxml and action scripts.

How can I create dyanamic columns(say, date range) for Advanced datagrid, from objects returnd from java layer.?

Have a look at the sample here

nice .. let me look into the example.
Thank you sameer.

Hi Sameer,
I have seen XML structure for creating the Tree . Can we use ArrayCollection(java List from backend) for creating the Tree control?
You have any example demonstrating the same.
Appreciate your response!!

Yes, you can definitely use ArrayCollection. You just need to structure the data correctly, i.e., the in a parent-children form. Most of the samples in my blog uses ArrayCollection.

Hi Sameer,
Thanks for your kind help… I got into trouble when using XML as data provider for AdvancedDataGird. My requirement is to hide the root node in the ADG. In Tree we can use showRoot=”false”, right?
Is there any similar property in AGD when using XML as data provider?
or do we need to write action script to achieve this? Can you please get me some sample for this?
Thanks..Aji

The property “showRoot” is present in IHierarchicalCollectionView.
You can set it using –
(adg.dataProvider as IHierarchicalCollectionView).showRoot = false;

Do you know any recommended consultants who are experts with the AdvancedDataGrid?

We have a need to extend ADG’s functionality. Immediate requirement is to optimize horizontal scrolling to behave the same as vertical. The requirement is not to have simple smooth scrolling but to only instantiate renderers that are in view. This is just the start; there are other features & performance bugs in addition to this one.

Unfortunately we can’t wait until 2023 when Flex 5 finally ships with a replacement grid control.

If anyone knows a reputable person please send email to: tntomek at — hotmail — com

Hi Tom,
It’ll great if you can log the issues you are facing with the AdvancedDataGrid component here – http://bugs.adobe.com/flex/

Leave a Reply