Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.