Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8451

Re: Cell variant in table column

$
0
0

Pat Govender wrote:

 

I'd still like to have just one column.  I'm just wondering if there is a workaround like adding the free text value input to the list of values before the validation occurs?

Well, the workaround solution is to use DropDownListByIndex ( DDBI ) ui element instead of DropDownByKey(DDBK).

 

Because, if you use DDBK, you need to set the drop down list values to context attribute.

 

If you use DDBI, you can bind the property 'TEXTS' to other node where you can have the dropdown list maintained.

 

Hence, there is no context attribute level, value set. so no validation errors thown.

 

Please follow the below steps:

 

  • Create a cell variant with ui element DDBI
  • Create a node DD_VALUES ( cardinality 0...n ) and populate the drop down list values to internal table and bind it to context node DD_VALUES
  • Bind the property TEXT of DDBI to context node DD_VALUES

Now, when you have a variant key mentioned, it chooses DDBI else, free text ui element is shown.

 

Hope this workaraound solution resolves your issue.

 

Regards,

Rama


Viewing all articles
Browse latest Browse all 8451

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>