onHeaderClicked with dataTarget on the Collapse webcomponent

Forum to discuss the new web client version of Servoy.

onHeaderClicked with dataTarget on the Collapse webcomponent

Postby bodnarescu.diana » Mon Jul 17, 2023 1:57 pm

Hello,

The onHeaderClicked event of the servoyextra collapse webcomponent has a parameter: dataTarget.
I thought i can use the data-target in the headerHtml of the collapsible, but it seems there it sanitizes the html: the data-target attribute is removed.

I want to add an icon next to text, in the headerHTML of the collapsible, and execute a specific action when clicking on that icon. Is there a way to do this?

Thank you,
Diana
Diana Bodnarescu
Servoy Valued Professional
Freelance Servoy Developer
bodnarescu.diana
 
Posts: 25
Joined: Tue Mar 29, 2016 10:43 am

Return to Servoy NGClient

Who is online

Users browsing this forum: No registered users and 16 guests