Send data to search

I have a button that takes strings and builds a servername

	New-UDButton -Text 'Build Servername' -OnClick { yadayada }
	I have a big table of all my servernames in a table
	$adcolumns = @(
    New-UDTableColumn -Property Name -Title "Server name" -Width 4 -IncludeInSearch
    New-UDTable -Paging -PageSize 50 -Data $processedADData -Columns $adcolumns -ShowSearch


When I click the New-UdButton is it any way I can send that data to the showsearch in New-UdTable? and also trigger a search