3.0.0

Numerics displayed in grid multiplied by 1,000

I have a simple grid that is being populated through a visual fox pro application. The grid is created via:

oPartGrid = new HDS.Grid("partGrid", 500, 120, "SSSSNNNS", [60, 90, 30, 120, 60, 30, 60, 50], ["MfgID", "Part Number", "GIC", "Description", "Price", "Qty", "Ext Prc", "Stock"]);

oPartGrid.setSelectionMode("single-row");

The numeric fields (price, qty, ext prc) all appear in the debugger as properly passed to the javascript (e.g. 318, 1, 318) but they appear in the grid as 318,000 1,000 and 318,000

Any suggestions?
Thanks
Stan
Stan
October 2,
Are you converting foxpro numbers to strings like:?
ALLTRIM(STR(price,,0))
October 2,
October 2,
October 2,
They are not strings passed from Foxpro. Actually two are currencies and one is an integer. Maybe that has something to do with it?
Stan
October 3,
October 4,

This topic is archived.

See also:


Back to support forum

Search

Version 2

Looking for AW 2.6 ?
The old site is here.