cancel
Showing results for 
Search instead for 
Did you mean: 

mySite dashlet and YUI

vincent-kali
Star Contributor
Star Contributor
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


1 REPLY 1

vincent-kali
Star Contributor
Star Contributor
Reply to myself (may be helpful for others)
Data binding in made in column definition of the YUI datatable:
Function "onReady", "formatter: this.bind(this.renderCellDetail)"

This allows to bind datacell format to record data.
Vincent
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.