AnsweredAssumed Answered

mySite dashlet and YUI

Question asked by vincent-kali on Jan 9, 2015
Latest reply on Feb 6, 2015 by vincent-kali
Hi all,
I'm trying to customize the mySite dashlet.
I want to add an item in the 'detail-social' div for each site row,
just after 'favourite' and 'imap-favourite' items, and trigger actions on click
on this new item.
I discovered that row data are store in YAHOO.widgets.dataTable class, and updating
row record using 'updateRow(record, site)' method trigger class update of the corresponding element.
But I can't reproduce this for my new 'favourite' item.
Could somebody explain why and how a call to this.widgets.dataTable.updateRow(record, site) trigger
a change of element classes ?

Thanks in advance,
Vincent


Outcomes