fix gridx fail to render when encode non-string column