Skip to Content
avatar image
Former Member

Regarding TablecellVariant

Hi,

We have the requirement in tableView when I select a particular row the UI elements has to change for that entire row.

For EX: I have 3 columns, by default the UIelement is textView for all the records in those 3 columns, when I select a particular record the UIelements has to change as InputField, Dropdown, Checkbox and for the non selected records the UIlements is textview.

For this I have used TableCellVariant UI element, I am able to get the solution for the selected record but when I navigate to another record the UIelements are not changing to the default UI element for the previous selected record.

These are the steps I have followed

1) I have created one context node with 3 context attrobutes and binded the node to tableView.

2) I have 3 columns now, I have created one cellvariant for each column and I have created UIelement for each cellvariant according to my requirement.

3) I have assigned the variantkey for the cellvariant.

4) I have created one action method for the table lead selection. When I select a partular row I am setting variantkey value for the selected row.

Without this UIelement is there any alternative solution?.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    May 16, 2007 at 08:56 AM

    Hi EP Developer,

    interesting name 😉

    Set the variantKey to "" (empty string) to change from the cellvariant to the "normal" cell editor.

    regards

    stefanie

    Add comment
    10|10000 characters needed characters exceeded