set rendering function for column in options