AppGeo / GPV

General Purpose Viewer: configurable integration of map servers with enterprise databases
Apache License 2.0
13 stars 9 forks source link

Query Stored Procedure Column Alignment #163

Open andrewgbuck opened 5 years ago

andrewgbuck commented 5 years ago

When a query stored procedure presents the returned values on the UI, numeric values are right justified regardless of the column type. For example a value of '12345a' is left justified and a value of '12345' iright justified, even tough the column type is varchar.

pgirard commented 5 years ago

This is the way it has worked for years. It was built this way to let the store proc return a number with separators (e.g. 1,234,567) as text and still have it align as a number. We can easily make the GPV not do this -- it's simply deleting lines 87-89 in Scripts/DataGrid.js. I put it out to the user group whether we should make this change.