select a record and other column highlight as hyperlink


I am looking at Driver checkin-checkout screen, when we select a record only first column (AppointmentID) will be in blue when i click on it it will got to Appointment screen, now when i select the record it should also highlight the second column(order number- either sales or purchase order) Need to be in blue when i click on it it should go to sales order or purchase order.

Can you explain how is it possible?

Also i want to add a new column which should populate vendor name if its purchase order or customer name if its a sales order in one sing column named customer/vendor name.

Can any one explain how i can do it, how can i make the second column highlight like blue link when one record is selected.