Hiblet/NewZopa01 — pull request #28 by Hiblet (2014-03-24 12:26:24+00:00)
Title: Implemented new Position tab and DataTable pull;

CHANGED: Trading.aspx
-- Added divs to hold tab and content.

CHANGED: Trading.aspx.cs
-- Changed GetTableDataList() to use List for filter column array.
-- Replaced getColumnArray() with getColumns(), returning List.
-- Changed getFilteredDataTable() to handle iMaxRows value of zero.
-- Changed populateDataTable() to get Position table specific SQL command
and to expand try brackets.
-- Added getSqlSelectCommandPosition() to generate Position table SQL.
-- Changed getKeyRoot() to include Position table.
-- Changed getSqlSelectCommmand() to use account names, not keys.
-- Changed getMapping() to include Position table mapping.
-- Added makeClientPositionTable() to build cache table.
-- Added getMappingPosition() to build mapping object for cache table.

CHANGED: web.config
-- Added Position table strings to build SQL table.

CHANGED: Orders.js
-- Changed method to select first tab to be more resilient JQuery method.
-- Added Position table variables for table population calls.
-- Added call to get Position table on startup.
-- Added calls to get incremental position table whenever Fill is done.
-- Added Position Book section to call and receive via WebMethod.
-- Added Position case to getSyncSuccessFn(), getSyncFailureFn(),
getMaxRowCount(), getDBTableName() and getDivTabByDataType().
-- Changed onClickTab_Div to handle 4 tabs.
-- Changed selectTab_Div to allow 4 arguments.
-- Removed commented out code

CHANGED: Trading.css
-- Added #div_tbPositionLarge_Outer (+small) to responsive config.

CHANGED: AppUtility.cs
-- DataTableToList() now accepts any collection of filter columns.

CHANGED: appSettingsOrders.web.config
-- Removed commented out settings.
-- Added nMaxPositionRowCount setting of zero.