DataGrid cell editing

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

  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. Similar Questions and Discussions

    1. DataGrid: How do I select and copy text for a DataGrid cell?
      Hi, Do you know how do I select and copy txt from a cell inside a Flex 2 DataGrid? I don't want to use an itemRenderer. I will appreciate...
    2. Problem Editing Grid Cell
      When the user clicks on a cell, it properly opens for editing. When the user then types in new data, the old data is still there with the new data...
    3. CFGRID Cell Editing Problem
      When I use a grid similar to the one attached, I can add the first 3 rows in the manner I would expect (i.e. click 'Add', click on 1st column in new...
    4. How to set cell background based on cell value when datagrid is displayed
      I would like to check a datagrid cell value, and change the color of the cell background, when a datagrid is displayed. I want to do this as early...
    5. RadioButtonList In A DataGrid Cell - Can I find the selected button without editing the cell?
      I have an ASP.NET form with a DataGrid and Button. I want to put a RadioButtonList in a DataGrid cell. I bind it to an ArrayList which has a...
  3. #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

  4. #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

  5. #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

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