Radio group

Help
2007-07-10
2013-05-02
  • Clifford Cheng
    Clifford Cheng
    2007-07-10

    Is it possible to include a radio group of 3 buttons for a table column? Any help is appreciated.

    Clifford Cheng

     
    • Hi,

      It is not provided out of the box.

      What I would recommend:
      Implement your own renderer and editor based on the existing boolean checkbox renderer and editor. Implementing a radio button should be quite easy - just adapt the sensitive area in the editor and draw appropriate radio buttons in a new renderer.

      I would recommend to place every radio button in a separate column to keep that scalable. Using spanned cells, the user should not see any difference.
      If it does not need to be a radio button (a checkbox is ok), you can also use the existing editors/renderers for that - this would drastically reduce the necessary effort.

      Kind regards,
      Lorenz

       
    • Clifford Cheng
      Clifford Cheng
      2007-08-19

      Hi,

      Sorry was away for some time. That sounds very helpful. I'll give it a try.

      Btw, could you provide a little code sample of TableCellEditorDialog?

      Thanks.

      Clifford Cheng