textual button for query result details