getTableCellValueFromDataRowIsRawCol method
dynamic
getTableCellValueFromDataRowIsRawCol(
- dynamic dataRow,
- dynamic col,
- dynamic context,
- dynamic isRaw,
Implementation
getTableCellValueFromDataRowIsRawCol(dataRow, col, context, isRaw) {
myLogAll('getTableCellValueFromDataRowIsRawCol');
dynamic colName = col[gId];
var result = dataRow[colName];
if (isNull(result)) {
return result;
}
dynamic inputType = col[gInputType];
if (inputType == gDatetime) {
if (isRaw) {
if (isNull(result)) {
return 0;
}
return getInt("$result");
}
}
if (isRaw) {
return result;
}
return getValueGUI(result, col);
//return result;
}