Skip to Content
avatar image
Former Member

Is it possible to change table's cell editor for one cell only at runtime?

Hi,

I have a table with a few columns. The cell editor of the first column is Caption. I need to change the cell editor of that column to InputField at runtime, but just of the selected row.

Is it possible to change the cell editor of a specific row in a column?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Oct 26, 2004 at 11:34 AM

    Carmit,

    It is possible <b>only</b> to change cell editor for <b>whole column</b>.

    If you need to display icon as well as text you can use 2 columns. This (icon) is the only difference: InputField in non-current column is rendered almost identically to Caption.

    Regards,

    VS

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 23, 2004 at 06:35 PM

    Hello,

    you could use input field as editor for the whole column and determine its "enabled" property per row, via data binding. This could achieve a similar effect (not every row is editable). But I have some doubts if this really needs to be connected with current selection? Is this a good UI design? User clicks into row and only then discovers that field becomes editable?

    Best regards,

    Thomas

    Add comment
    10|10000 characters needed characters exceeded