sets a popup message next to the multitext when the cursor points to it
// tooltip as a boolean
{
view:"multitext",
value:"Susan Way, Dirk Gently",
tooltip:true
};
// tooltip as a string
{
view:"multitext",
value:"Susan Way, Dirk Gently",
tooltip:"Guests: #value#"
};
// tooltip as a function
{
view:"multitext",
value:"Susan Way, Dirk Gently, Clark Kent",
tooltip:function(obj){
return "Guests: " + $$(obj.id).getValueHere();
}
};
// tooltip as a configuration object
{
view:"multitext",
value:"Susan Way, Dirk Gently",
tooltip:{
dx:10,dy:20,
template:function(obj){
return "Guests: " + obj.value;
}
}
};
If you define the tooltip as a function, it receives the configuration object of the multiselect.
If you define the tooltip as an object, you can configure the tooltip and define its template as a string or a function.