Hi,
I would like to set the lightboxes textarea’s to autogrow. I have used a jQuery plugin (github.com/ultimatedelman/autogrow) which allows me to grow the textareas as a user types:
scheduler.attachEvent("onLightbox", function (id){
$('.dhx_cal_ltext').css("height", "auto");
$('.dhx_cal_larea').css("height", "auto");
$('.dhx_cal_light').css("height", "auto");
$('.dhx_cal_light').css("padding-bottom", "10px");
$('textarea').autogrow();
return true;
});
However when the box loads only 2 rows are visible, even if there 10 lines. Looking at the state of the lightbox it appears that the onLightbox event is fired when its created but before its populated with data. Is this correct and if so how would I work with the lightbox once the data is populated?
Regards
Phil