From 587036a66baa0c66aea0a557055d0eb1bd1d48c2 Mon Sep 17 00:00:00 2001 From: kimsama Date: Sun, 24 Dec 2017 13:26:44 +0900 Subject: [PATCH] Changed to skip null or empty column (in the case of Blank type of CellType) --- Assets/QuickSheet/ExcelPlugin/Editor/ExcelQuery.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/QuickSheet/ExcelPlugin/Editor/ExcelQuery.cs b/Assets/QuickSheet/ExcelPlugin/Editor/ExcelQuery.cs index 7d60161..d912d6a 100644 --- a/Assets/QuickSheet/ExcelPlugin/Editor/ExcelQuery.cs +++ b/Assets/QuickSheet/ExcelPlugin/Editor/ExcelQuery.cs @@ -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 {