Search Not working in New-UDTable

Using the latest UniversalDashboard. I am unable to get the search working for New-UDTable. Search box is displayed but all searches are empty results. Guidance is requested. Code used is below.

$PageInactive = New-UDPage -Name "Inactive" -Content {

    New-UDDynamic -Id 'InactiveGrid' -Content {
        $Result = Get-InactiveUsers 
        $Columns = @(
            New-UDTableColumn -Title "" -Property 'enabled' -Render {
                if ($EventData.enabled) { New-UDIcon -Icon "user" } Else { New-UDIcon -Icon "UserSlash" }
            }
            New-UDTableColumn -Title 'Name' -Property 'Name'
            New-UDTableColumn -Title 'UserName' -Property 'SAMAccountName'
            New-UDTableColumn -Title 'Title' -Property 'title'
            New-UDTableColumn -Title 'Manager' -Property 'managerName'
            New-UDTableColumn -Title 'LastMod' -Property 'whenChanged' -render { New-UDDateTime $EventData.whenChanged -format "MM/DD/YYYY"}
            New-UDTableColumn -Title 'Count' -Property 'GCount' -Render {
                New-UDTooltip -Place right -Type info -Effect float -TooltipContent { New-UDHtml -Markup "$($EventData.UserGroupsHtml)" } -Content { New-UDHtml -Markup ($EventData.UserGroupsCount) }
            }
            New-UDTableColumn -Title 'Archive' -Property 'Archive' -Render {
                $ADUser = $EventData
                New-UDButton -icon  (New-UDIcon -Icon warehouse -size "lg") -Style @{ backgroundColor = 'red' } -OnClick {
                    Show-UDToast -Message ("Moving : " + $ADUser.displayName) -Duration 4000 -Position center
                    ArchiveUser -aduser (Get-ADUser $ADuser.samaccountname)
                    Sync-UDElement -Id "InactiveGrid" -Broadcast
                } 
            }
        )
        
        New-UDTable -Title 'Inactive Users' -Data $Result -Columns $Columns -dense -showpagination -pagesize 10  -ShowSort -ShowSearch
    } -AutoRefresh -AutoRefreshInterval 600 -loadingcomponent { 
        New-UDCenter {
            New-UDTypography -Paragraph 'Loading Users' -Variant h5 -GutterBottom
            New-UDProgress -Circular
        } 
    }
}

Something is certainly wrong with the search. I’ll open an issue for it.

I don’t see the -IncludeInSearch switch in your column definition

Didn’t even notice that. Nice catch!:partying_face:

I’ve updated the documentation to include this information. https://docs.powershelluniversal.com/userinterfaces/dashboards/components/data-display/table#search

Success. Added -IncludeInSearch and it is working Stellar! :smiley: