Skip to content

Commit

Permalink
Merge pull request #54 from kimsama/feature/nullcolumn
Browse files Browse the repository at this point in the history
Changed to skip null or empty column (in the case of Blank type of Ce…
  • Loading branch information
kimsama authored Dec 24, 2017
2 parents 25c227f + 587036a commit d423107
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Assets/QuickSheet/ExcelPlugin/Editor/ExcelQuery.cs
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,8 @@ public string[] GetTitle(int start, ref string error)
string value = title.GetCell(i).StringCellValue;
if (string.IsNullOrEmpty(value))
{
error = string.Format(@"Empty column is found at {0}.", i);
return null;
// null or empty column is found. Note column index starts from 0.
Debug.LogWarningFormat("Null or empty column is found at {0}.The celltype of {0} is '{1}' type.\n", i, title.GetCell(i).CellType);
}
else
{
Expand Down

0 comments on commit d423107

Please sign in to comment.