|
@@ -119,9 +119,9 @@ namespace InABox.Mobile
|
|
|
|
|
|
if (_row != null)
|
|
|
{
|
|
|
- var col = _columns.IndexOf(property);
|
|
|
- var value = Row.Get<T>(col); //() Row.Values[];
|
|
|
- return value;
|
|
|
+ var col = _columns?.IndexOf(property);
|
|
|
+ if (col != null)
|
|
|
+ return Row.Get<T>(col.Value); //() Row.Values[];
|
|
|
}
|
|
|
|
|
|
return CoreUtils.GetDefault<T>();
|