1 Reply Latest reply on Oct 14, 2007 5:05 PM by theLoggerGuy

    Flex 2

    iPACTech
      Is there any possibility to disable and enable cells of a particular column. i.e) in single column both editable and non-editable cells should be there...
        • 1. Re: Flex 2
          theLoggerGuy Level 1
          Yes, if you use a custom renderer for the column.

          Lots of help in the Flex ref about custom renderers - would suggest the "renderer component" <mx:TextInput.../> for single line data. Add an extra variable (boolean) to the DataGrid's data provider to govern whether a cell is editable or not. Code the renderer component's "editable" property to be bound to the new boolean variable. And you're done.