Added logic to truncate the data in the row if the user has requested this.