Play effect when row updated in DataGrid

Ask a Question related to Macromedia Flex General Discussion, Design and Development.

  1. #1

    Default Play effect when row updated in DataGrid

    I have a DataGrid that contains N number of rows. When one of the rows is updated I'd like to play some sort of effect to highlight the fact that the row changed. Any suggestions?
    anoweb Guest

  2. Similar Questions and Discussions

    1. play effect when removing item from TileList
      I want to play an effect when removing an item from a TileList. I tried several different methods, such as defining a removedeffect for the...
    2. Get updated values from DataGrid
      Hi I have a DataGrid, with Edit links in each row. The Edit button works, the user can change the values. But I can't get updating to work. ...
    3. How do I play an effect loop
      Has anyone got an elegent way to repeat an effect while the mouse is over something, like a fade in and out.
    4. Updated Movie won't play right
      I'm editing a 7.0 project in Director in 8.0. The client sent me DMfade xtra that goes with the movie. I put it in the Xtras folder. When I create a...
    5. Datagrid not updated during delete, but updated during insert and update
      Hello everyone. A test webform here, single datagrid bound to one table through dataset, and controls to delete, update and insert data. The code...
  3. #2

    Default Re: Play effect when row updated in DataGrid

    anyone?
    anoweb Guest

  4. #3

    Default Re: Play effect when row updated in DataGrid

    The only thing I can think of is to highlight the updated row. That's an interesting question....

    dgData.selectedIndex = i; (i being your updated row)
    nrutter Guest

  5. #4

    Default Re: Play effect when row updated in DataGrid

    1) add an event listener to the underlying array collection of your array
    collection. For an example study:
    [url]http://blog.paranoidferret.com/index.php/2007/08/24/flex-php-json-mysql-advanced[/url]
    -updating/
    2) on update event, identify the current row in the grid
    3) You have to decide wether this effect is for a single column or for the
    whole row. Technically, a row is a collection independent columns.
    4) if for single column, just write a simple custom renderer and add the
    effect to that renderer on the update event
    5) for a complete row background study:
    [url]http://weblogs.macromedia.com/pent/archives/2007/02/coloring_the_ba.html[/url]

    Hope this helps.

    ATTA


    atta707 Guest

  6. #5

    Default Re: Play effect when row updated in DataGrid

    the link provided should work:
    [url]http://weblogs.macromedia.com/pent/archives/2007/02/coloring_the_ba.html[/url]
    anoweb Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139