Professional Web Applications Themes

DataGrid cell editing - Macromedia Flex General Discussion

I have set my DataGrid as editable and some column editable and others not. For some reason some cells blank out when I edit the cell contents whether I change the contents or not. The data is still in the dataProvider because when I click on the blank cell the contents are visible until it loses focus. This happens for just some rows in the same column, like row 1 and 2 work but not 3, but I cannot see a pattern yet. Does anyone have a clue for me?...

  1. #1

    Default DataGrid cell editing

    I have set my DataGrid as editable and some column editable and others not. For
    some reason some cells blank out when I edit the cell contents whether I change
    the contents or not. The data is still in the dataProvider because when I click
    on the blank cell the contents are visible until it loses focus. This happens
    for just some rows in the same column, like row 1 and 2 work but not 3, but I
    cannot see a pattern yet. Does anyone have a clue for me?

    Floating_point Guest

  2. #2

    Default Re: DataGrid cell editing

    This is a bug I have reported any you should too. It had BETTER be fixed in
    2.0.

    The only thing I could find that would reproduce this reliable is to have the
    dataProvider item contain an empty string when the dataGrid instantiates.
    Apparently, the text field that renders the content gets its width set to zero
    in that case, and stayst that way. When you select, or even mouseover the
    cell, apparently the renderer uses some different internal control to do the
    display, one that sizes correctly.

    I believe, if you re-assign the dataProvider to the dataGrid, it will display
    correctly. Not desirable, but it is a workaround until 2.0'
    Tracy

    ntsiii Guest

  3. #3

    Default DataGrid cell editing

    Is there a way to disable cell editing on some rows of a DataGrid where a column is editable? I want column 4 editable but not for, say, rows 1 and 3.
    Floating_point Guest

  4. #4

    Default Re: DataGrid cell editing

    This functionality is not built-in and you would need to use a custom cell renderer to achieve it.

    Tracy
    ntsiii Guest

Similar Threads

  1. DataGrid: How do I select and copy text for a DataGrid cell?
    By mukul in forum Macromedia Flex General Discussion
    Replies: 0
    Last Post: October 12th, 12:08 PM
  2. Problem Editing Grid Cell
    By Fred96 in forum Macromedia ColdFusion
    Replies: 0
    Last Post: May 19th, 06:20 PM
  3. CFGRID Cell Editing Problem
    By Iceborer in forum Coldfusion Flash Integration
    Replies: 0
    Last Post: March 15th, 03:06 PM
  4. Replies: 1
    Last Post: February 17th, 09:37 PM
  5. Replies: 3
    Last Post: April 30th, 12:19 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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