[QUESTION] How to skip empty row among other rows when import? #3168
Unanswered
simontruongduc
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Did you try |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
first of all thank you so much for this Library. Working great .
I want to remove all empty rows before validation. I edited ignore_empty in config/excel.php to true value but it only removes empty rows from the last row set value but empty row among other rows have value hasn't been removed yet.
Ex:
when i imported this file it was returned 4 collection.
{
"code"=>1,
"email"=>"test@gmail.com",
"username"=>"usernameA"
},
{
"code"=>NULL,
"email"=>NULL,
"username"=>NULL
},
{
"code"=>1,
"email"=>"test@gmail.com",
"username"=>"usernameA"
},
{
"code"=>1,
"email"=>"test@gmail.com",
"username"=>"usernameA"
}
I want to delete the 2nd collection before it does validation. please help me.
Beta Was this translation helpful? Give feedback.
All reactions