Hi, and thanks for the reply.
A typical value for this field might be "8177216122984745", to be displayed exactly as it's stored in our database (as a string of ordinary Unicode characters that happen to represent decimal digits, not an oversized integer or other numeric type). Values for this field are being displayed correctly in the data grid itself, and they can be edited and saved without problems.
The column definition is:
{ title: "Acct Num", width: 150, dataType: "string", dataIndx: "AcctNum", filter: filterEqual, editable: true },
The best work-around I've tried so far involved putting a literal quotation mark in front by inserting this into the column definition:
format: function (val) {
return "'"+val;
}
… but while this does force the value to export as a string, the quotation mark becomes part of the displayed string rather than serving to signal that the following value is a string rather than a number, as it would when typing values into Excel itself. I'd like to export (and display) just digits, but force the exported values to be recognized as strings as the dataType says.
I suspect I'm missing something simple and obvious, but if so it's in my blind spot.