In fact, there is an internal function that is responsible for resizing, called resizeCheck(). However, this function is a private implementation and is not displayed to widgets as a public method.
You can get around this, though: since it resizeCheck()is called by the widget handler keyup, you can trigger this event yourself after setting a new value:
$("textarea").val(ajaxData).keyup();
, "".