setColumns([ ['key' => 'id', 'title' => 'ID', 'width' => 100], ['key' => 'name', 'title' => 'Name', 'width' => 400], ['key' => 'status', 'title' => 'Status', 'width' => 120], ]); // Test data with 63 entries (same as your example) $testData = []; for ($i = 1; $i <= 63; $i++) { $testData[] = [ 'id' => $i, 'name' => "Server-{$i}", 'status' => ($i % 3 === 0) ? 'stopped' : 'running', ]; } $table->setData($testData); $mainContainer->addComponent($table); $window->setRoot($mainContainer); $app->addWindow($window); echo "Table Scroll Test started!\n"; echo "- Table should show scrollbar\n"; echo "- Try scrolling with mouse wheel over the table\n\n"; $app->run();