show table headers only after search