Separate row creation and filtering setting so that we can reuse the row creation for future.