cancel
Showing results for 
Search instead for 
Did you mean: 

Parameter mapping of checboxes inside Table with dynamic node

Former Member
0 Kudos

Hi Experts,

I have a dynamic table with dynamic datasource node. This table contains checkboxes for row selection. I have to change the color of row on click of toggle event of checkbox so that this particular row looks like a selected row.

I was thinking of using parameter mapping for the same. But thing is since my node is a dynamic node i am not able to create parameter of onToggleEvent which can give me "index" of the toggled checkbox.

Please suggest a solution for the same.

Regards

Pranav

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You don't need the node for defining the event parameter mapping. Just map the prefedined parameter "nodeElement" to some action parameter of type IWDNodeElement.

Armin

Former Member
0 Kudos

Hi Armin,

Thanks a lot for reply. May I know one more thing. As suggested by you I have to map the prefedined parameter "nodeElement" in

addSourceMapping("nodeElement","") with an action parameter of type IWDNodeElement. But since i dont have any node created at design time in my view, while creating parameter for "toggleEvent" i am not getting any "java type" of kind i<NodeName>Element.

What can be solution for this?

Regards

Pranav

Former Member
0 Kudos

That's why you should use the generic type "IWDNodeElement".

Armin

Former Member
0 Kudos

Oh sorry for sounding ignorant .

Thanks a lot for your help.

Regards

Pranav

Former Member
0 Kudos

You don't sound ignorant. Questions are always welcome.

Armin

Answers (0)