Change column display value in List

This is how you can display a different value in a list than what is stored in the database. In this example I stored “0” in the timecard table for Clock In and “1” for Clock Out.

data["Direction"] = data["Direction"] == "0" ? "Clock In" : "Clock Out";