I have a requirement to set the font size of a row depending on a dropdownlist selection by a user. I’ve tried looking at modifying the label_template function in javascript and that doesn’t appear to be a good place to use it. I also tried using javascript to find all the elements on the page with class name ‘dhx_scell_name’ and adding a fontsize class, but that didn’t work. Any other suggestions?
Hi,
there is a template for a css class of a timeline section
scheduler.templates['timeline' + '_scaley_class' = function(key, label, section){
if(key % 2){
return 'important-section';
}
};
Where ‘timeline’ is name of the view. Such js with following css seems working in our samples
.important-section{
font-size: large;
}
Thanks, Aliaksandr.