Flex 3 DataGrid Cross rollover issue

Flex 3 DataGrid Control - How can i set cross rollover (Row & Column) in my datagrid ?

I'm not sure what that means.
Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui

Similar Messages

  • Remove Flex DataGrid Heading Rollover Color

    Hi,
    How can i stop rollover color change in Flex 3 DataGrid heading ?
    Can i override the following mehtod if yes how can i do this ?
     drawHeaderIndicator(s, r.x, 0, visibleColumns[i].width, cachedHeaderHeight - 0.5, getStyle("rollOverColor"), r);
    Thanks,
    -Shrban

    To do what you want to do requires a fair amount of work as the rollover color is set as a style, you can change the color but it seems the rollover can't be disabled(not without a custom datagrid).
    A quick fix is to try and at least reduce the difference in the rollover color, this could be done as per below, which basically makes the rollover color the same as the lighter shade of the header gradient.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" minWidth="955" minHeight="600" creationComplete="appHandler(event)">
    <mx:Script>
    <![CDATA[
    import mx.controls.Label;
    import mx.events.FlexEvent;
    protected function appHandler(event:FlexEvent):void
    var colors:Array = dg.getStyle("headerColors");
    dg.setStyle("rollOverColor",colors[0]);
    ]]>
    </mx:Script>
    <mx:DataGrid id="dg" x="234" y="198" width="619" height="360">
    <mx:columns>
    <mx:DataGridColumn headerText="Column 1" dataField="col1" />
    </mx:columns>
    </mx:DataGrid>
    </mx:Application>

  • Flex Datagrid Issue

    Hi
    I am using a flex datagrid component which has around 48 columns.
    There is a option for the user to select which columns he wish to see.
    Based on the user's selection the visible columns will be 1-50.
    The Datagrid is inside a Vbox container.
    The issue is, based on the screen resolution and the number of columns selected extra scroll bars(horizontal and vertical) appears
    for the whole Vbox in addition to the Datagrid's scrollbars.
    i.e if resolution is high and user selects more than 46 columns extra scroll bar appears.
    If resolution is low the extra scroll bars appears as soon as the visible columns is more than 20.
    Please help me if there is any resolution in preventing the extra scroll bars from appearing.Ideally, Since datagrid has its own scroll bars making more columns visible should not increase the width of datagrid.
    Any help will be appreciated

    Have you hard-coded the height and width of both the VBox and the Datagrid? If you set the datagrid height and width 40 pixels or so less than the VBox it should solve that problem, I'd think.
    Or, you could set your DataGrid height and width to 90%.
    Sorry if you've already tried this. Another option is to set your datagrid's scroll policy to "off" and just leave the VBox's scroll bars available.
    -John

  • Flex DataGrid Component

    Can i extend the Flex DataGrid using ActionScript and create as  Add-On Component ?

    I've been trying to get this to work.  But i'm having issues   Not sure if it's related to the Array binding limitation mentioned in the release notes.  Maybe someone else has some ideas.
    I'm trying to bind to the dataProvider property of the DataGrid.  That way when the user in Xcelsius selects a range, it will bind the data in the excel sheet to the DataGrid.
    Problem is that i'm only getting one value to update (specifically the top value).  At this time i'm only trying to bind a single column of data.
    I noted that the commitProperties function gets called whenever a cell changes that i'm bound to, but the dataProvider is only receiving the first value of the array.  Even odder is that the ArrayCollection that i receive simply looks like this:
    commitProp:dataProvider=(mx.collections::ArrayCollection)#0
      filterFunction = (null)
      length = 1
      list = (mx.collections::ArrayList)#1
        length = 1
        source = (Array)#2
          [0] 1
        uid = "A37C62CC-F3DC-E1B1-8159-CE984C2CCE33"
      sort = (null)
      source = (Array)#2
    So i see that i get an array collection of ArrayList objects, the first one of which simple contains the value in the excell sheet "1".
    I noted that the proxy.bind function has a parameter called "chain", maybe this is what i need to get multiple value binding?  The documentation for the calls are pretty basic, which is understandable as this is new technology.
    So anyone have some ideas?  Maybe someone from BO who is apart of the SDK group can comment?

  • Flex datagrid data on datachange

    Hi all,
    I am using an extended datagrid which takes its height on the basis of measured height of items. Item renderer for datagrid is a canvas. Which holds one more canvas(header for item renderer) and a text area. The problem I am facing is with the header canvas in item renderer. Header canvas has one label which diaplay a name of user. On the basis of data provider for the current item visibility of this label in header canvas is set as true or false. issue is when it set to false it repaints(on data change event) all the previous header canvas label also to visible false. And just the last item has the data. Rather it should set its visiblity false only for the current item and rest items sholud behave as value set for them.
    Thanks in advance.

    Adobe Newsbot hopes that the following resources helps you.
    NewsBot is experimental and any feedback (reply to this post) on
    its utility will be appreciated:
    Flex 3 - Handling service results:
    Flex interprets the XML data that a web service or HTTP
    service returns to ..... a DataGrid control with DataTable data
    returned from a .NET web service.
    Link:
    http://livedocs.adobe.com/flex/3/html/data_access_6.html
    Flex cookbook beta - Building Flex Applications with SOAP Web
    Services:
    Mar 3, 2008 ... If you are using web services technologies
    then it is usually ... The DataGrid tag instanciates an instance of
    the DataGrid Flex control.
    Link:
    http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&productId=2&postI d=7863
    Flex 3 - Using WebService components:
    The Flex web service API generally supports Simple Object
    Access Protocol (SOAP) ... property of a DataGrid control and
    displayed in the DataGrid control.
    Link:
    http://livedocs.adobe.com/flex/3/html/data_access_3.html
    Adobe - Flex General Discussion:
    Flex datagrid data column / webservice - justneed2know -
    08/27/2008 ... I use a web service to populate a datagrid and its
    columns (on of which is date).
    Link:
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=60&catid=585&threadid =1388794&enterthread=y
    All Classes (Flex 3):
    mx.rpc.soap, AbstractWebService is an abstract base class for
    implementations that provide RPC access to SOAP-based web services.
    Link:
    http://livedocs.adobe.com/flex/3/langref/class-summary.html
    Adobe - Developer Center : Using Flex Builder to Create Web:
    Using Flex Builder to Create Web ServiceBased Flex
    Applications ... The web service result data needs to flow to the
    DataGrid. Select the 'Data will flow
    Link:
    http://www.adobe.com/devnet/flex/articles/flexbuilder_ws_04.html
    Disclaimer: This response is generated automatically by the
    Adobe NewsBot based on Adobe
    Community
    Engine.

  • How to disaply multiple column of a table in a single flex datagrid column

    Hi,
    I have a table in my database which has say 3 column (Firstname,LastName,Location). I wanted to display these 3 different values in a single column in flex datagrid.
    Could you please help me out in this
    Thanks,
    Pratik

    Generally, in such scenarios each column is made corresponding to the column in database only and not single column.
    However, we can setStyle of a datagrid to make it appear as if all three  columns have been populated in single.
    set verticalGridLines="false" for dataGrid. Further cosmetic changes can be made to realise the required look.
    In some cases, labelFunction of a datagridColumn also suffices the need.
    Tanu

  • Import CSV/Excel data into Flex Datagrid using Java/JSP

    Hi,
    Is there any way we can import excel/csv data into flex datagrid component.
    I see that is been done using php in this site. http://code.google.com/p/as3xls/
    Any help would be appreciated.
    Thanks in advance

    You can store the list of data from the Excel sheet that you have read already into an ArrayList
    Then go through the JDBC tutorial, and learn how to insert a single record into the table.
    After you understand how to insert a single record, you can iterate through the ArrayList of data and insert them into the table in the database.
    If you know JDBC, see if you can use OR Mapping frameworks like Hibernate or iBatis, they make it very easy to manage database in Java.

  • Showing multiple links from inside a flex datagrid button

    Hi,
    I have a requirement where I need to show a button inside
    flex datagrid column.Which I'm doing with custom itemrenderer.When
    the User clicks on a particular button inside data grid I need to
    show him multiple links with images where user cal click on one of
    the links if he choses to do so.How do I achieve this.Any example
    is greatly appreciated.
    Regards
    mflex.

    "...show him multiple links with images ..." Where/how does
    this need to be displayed?
    Tracy

  • Flex DataGrid with Dynamic Grouping

    Does anyone know of any examples of Flex datagrids that have
    grouping features comparable to the numerous grid components
    available in the ASP.NET world? I’m thinking of .NET
    component vendors such as Telerik, Infragistics, Component Art,
    DevExpress, etc.
    The way these .NET controls generally work is that you drag
    the header of a column to a bar above the grid, which causes the
    grid to redraw based on the new grouping you just specified.
    This is an example of a grid component that I am currently
    using:
    Telerik
    Grid
    Thank you,
    Mike Chabot

    The renderer's data property is the data for the entire row so you can get the column1 data and assign the combobox's dataprovider accordingly.
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • Button rollover issue

    Download zipped
    FLA
    If anyone is bored, I'm having a problem with a rollover
    issue in the above movie that I have been creating. It is an
    interactive, navigable map of city parks. Rollover of the
    individual dots marking park locations on the map works fine. But I
    am also trying to list all the parks' names on the right, where you
    see the "Bergen Park" button. This is so that the user can either
    mouse over the map locations and see the park name
    OR
    find where the park is located by mousing over the park name
    on the right. I want this "Bergen Park" button to cause a section
    of the movie clip that has an instance name of "bergen" to play,
    making the Bergen Park dot on the map enlarge when the "Bergen
    Park" button is moused over. I thought that this actionscript would
    do it:
    on (rollOver) {
    _root.bergen.gotoAndPlay("11");
    on (rollout) {
    _root.bergen.gotoAndPlay("19");
    But it is not working when the movie loads. Only if I mouse
    over the Bergen Golf Course dot on the map does the "Bergen Park"
    button start acting like a button. Otherwise it just gives me a
    text cursor when I mouse over the "Bergen Park" button. Any help
    would be much appreciated!
    Kevin

    had a look at your fla and didn't quite work out exactly what
    was "working fine" for you. a few comments on your code:
    1. don't you need a stop action on frame 92 ? otherwise it
    continues looping.
    2. flash is case sensitive - be careful of this - on
    (rollout) might work even though the correct syntax is on(rollOut),
    but this is because the on handler is ancient syntax (pre dot
    syntax). most flash syntax requires you to have the syntax
    case-correct.
    3. Why is each of your dot clips inside a group? They were
    very difficult to find. I can't think of a reason for them to be
    inside groups, so I'd recommend selecting all of them and breaking
    the group apart so that you can see where they are!
    4. The way you've structured your flash file has redundancy
    and is going to be a nightmare to make changes to. Imagine if you
    or your client decides that they want the dot to pulse twice when
    you rollover it. You're going to have to make that small change 42
    times. Or even imagine if a URL changes for one of the buttons.
    There is a unique line of action-script to open that URL on every
    key-frame within the dot movie-clip. so changing a URL would
    require making that change on 6 keyframes, let alone the park name
    reference to it that you are building on the right. The minimum I
    would suggest you do is to have only one movieclip which contains
    the animation of the dot pulsing, and then for you to put the
    button event handlers on those movieclips, rather than inside those
    movieclips. There are even better ways you could go about this, (by
    storing the urls and titles in arrays, or even xml, and then
    placing the event handlers on the movieclips via their instance
    names on one frame of action-script), but this would at least
    remove your redundancy.
    5. but i digress... to return to your question - the text
    cursor appears not when you point to the bergen park button but
    when you point to the area between {2, 0} and {502, 20}, because
    this is where you created a dynamic text field:
    _root.ToolTip.createTextField("TipText", 2, 2, 0, 500, 20);
    _root.ToolTip.TipText.type = "dynamic";
    add this line after the above code:
    _root.ToolTip.TipText.selectable=false;
    and your problem should be fixed...

  • Cross platform issues with InDesign CS5 or earlier

    Potential client would like me (designer on a Mac) to design print docs which they can then edit on their PCs. Would love to hear feedback from others about any cross-platform issues/best practices suggestions. Thanks!

    No problem at all, the only thing you have to do is make sure you both have the same fonts in a flavour (Opentype) that you can both read.  So when you send them a Indesign document using these fonts they should be able to open it up on a PC without getting a "missing fonts" warning.  Once you've got that sorted you're away, I do exactly this all the time.
    Oh and of course you must have the same version of Indesign!  You can save back one version (or from CS5.5 to CS4) but it's not recommended for this type of workflow.

  • Cross Plant issue

    Hi
    I have cross plant issue. Mat1 is delivered from Plant1, but getting procured from Plant2. So SPK is maintained in Plant1 for Mat1. Now when Mat1 is added into a network activity with Plant1, system created a reservation in Plant1. On MRP run system is creating PR in plant1 and not Plant2. But as I mentioned the procurement action is done in Plant2. How to do?
    Pls note that when the same Mat1 is part of bom for header material in Plant1, system is creating reservation in Plant2, thus creating a PR in Plant2 by MRP run. No problem in this case.
    We are using SPK as withdrawing from other plant not Stock transfer process.

    Hi,
    The problem, apparently, is with MRP2 view of the material master. The  material obviously is assigned to both the plants Plant1 & Plant2.
    MRP2 view - Plant 1:
    Procurement type -F (external procurement)
    Special procurement (value should be entered which will trigger procurement from Plant2. You can ask your MM conultant as to what value to be filled in your scenario)
    MRP2 view - Plant2
    Procurement type -F (external procurement)
    Special procurement (blank)
    This should solve your problem. If so, pl close the thread.
    Murali

  • Flex datagrid pagination?

    Hi. Does the datagrid or AdvancedDataGrid support pagination?
    From what I've found, they don't seem to.

    "curious_Lee" <[email protected]> wrote in
    message
    news:g91nfo$nv8$[email protected]..
    > Hi. Does the datagrid or AdvancedDataGrid support
    pagination? From what
    > I've found, they don't seem to.
    http://gurufaction.blogspot.com/2007/02/flex-datagrid-paging-example-with.html

  • Flex datagrid borders off by 1px?

    Is there a way to extend the datagrid component or any to her way to avoid this?
    Flex datagrid column header borders and column borders keep going off by 1px... and they randomly alternate when resized.
    I have no idea how to fix this, and it to me looks like a problem with flex, not so much what i coded
    http://screencast.com/t/NmI3Zjk0NmU
    http://screencast.com/t/YzE0NDk5 - resized
    It's like it's going off by 1px because of some rounding error... no idea why this is happening, and I'm using
    Code I'm using (a bit sloppy but still)
    http://pastebin.ca/1888773

    I could use someone's help on this... Every single datagrid i create (at least with a custom header gradient, I think), has borders off by 1px, what can I do to fix this?  I've even seen this happening on other sample flex projects. No idea how to fix this

  • Flex datagrid french sorting

    Hi,
    I am using flex datagrid to develop an application in french,
    as french is having special character in it,
    i need to sort datagrid column in french. Flex datagrid
    unable to sort data in french. i need french sorting,
    if somebody has solution of this please help me to get out of
    this.
    If possible please reply me on
    [email protected]

    i am using inbuilt flex sorting, i am not using sortcompare()
    function.
    its just a string sorting but as its in french ,character
    &quot;
    É&quot; is comig after character &quot;
    V&quot; , because flex treated it as a special character
    . it should come before &quot;
    V&quot;. so do we need to change character set for
    flex?

Maybe you are looking for

  • Lost files from project but still in project library

    I have just completed a movie when it crashed now the movie has no picture, just saying files missing, but they are still in project library

  • Why can't I edit certain pages within a PDF?

    I use acrobat pro to edit powerpoint presentations that have been turned into PDFs. In some documents, certain pages won't let me select images using the edit text & images function ( normally if you hover over, a blue outline appears, indicating som

  • ITunes will not allow me 2 add more than 3 songs at one time in2 my library

    iTunes won't allow me to add more than 3 songs at one time into my library. I just want to select a number of songs in 'My Music' folder on my pc and then add them in one go. I used to be able to on older versions of iTunes, but now it will only let

  • Chemical Industry

    Hi, Can any one send me the Best Practises(ECC6.0)  for a Chemical Industry for US and Indian Countries. Please send it on Priority basis. Thanks in advance Regards Subramanyam

  • Moving data forward 30 days, 60 days, 90 days

    Hi - I have an issue trying to move a set of data 30 days forward. I have tried using SHIFT and PRIOR, but they seem to work best moving data up from prior month(s). My CurCycleOutMonths are from Aug:Dec. What I am trying to have the calc script do i