This commit is contained in:
@@ -7,6 +7,9 @@ Proposed system is a hybrid grid system that has two modes to take into account
|
|||||||
- In this mode only one column shows and it's formatted according to the Display Format Template
|
- In this mode only one column shows and it's formatted according to the Display Format Template
|
||||||
- DisplayFormatTemplate is specd in the core-display-format-template-system.txt doc
|
- DisplayFormatTemplate is specd in the core-display-format-template-system.txt doc
|
||||||
- So the user chooses which columns to show in a small factor themselves, default is name only or equivalent
|
- So the user chooses which columns to show in a small factor themselves, default is name only or equivalent
|
||||||
|
- As the client already does all the presentation and locale formatting it will also handle mini column concatenation
|
||||||
|
- The server's responsibility for mini is to use the mini format template which may well have different columns defined than the full
|
||||||
|
- Return the data just the same as for the wide template but it's very likely different data
|
||||||
|
|
||||||
|
|
||||||
CASES
|
CASES
|
||||||
@@ -16,7 +19,7 @@ None that are intrinsically grid related really, just 3 or so regarding specfic
|
|||||||
REQUIREMENTS
|
REQUIREMENTS
|
||||||
|
|
||||||
Client
|
Client
|
||||||
- Client needs to tell the server which form of list is required, i.e. it's client window size when fetching a list
|
- Client needs to tell the server which list template is required, i.e. it's client window size when fetching a list
|
||||||
- HYBRID BIMODAL: MINI or default which is large (for now but consider maybe a medium down the road in planning)
|
- HYBRID BIMODAL: MINI or default which is large (for now but consider maybe a medium down the road in planning)
|
||||||
- in MINI mode
|
- in MINI mode
|
||||||
- the client sends "mini=true" to the client with the grid data request
|
- the client sends "mini=true" to the client with the grid data request
|
||||||
|
|||||||
@@ -486,7 +486,7 @@ namespace AyaNova.Biz
|
|||||||
while (dr.Read())
|
while (dr.Read())
|
||||||
{
|
{
|
||||||
List<AyaFieldData> row = new List<AyaFieldData>(returnRowCount);
|
List<AyaFieldData> row = new List<AyaFieldData>(returnRowCount);
|
||||||
//GetOrdinal is flakey in npgsql so need an alternative, probably faster this way anyway
|
//GetOrdinal is flakey in npgsql so just going by field definition and ordinal numerically
|
||||||
int nCurrentColumnPointer=0;
|
int nCurrentColumnPointer=0;
|
||||||
//flag to handle first column which has no display value, just an id instead
|
//flag to handle first column which has no display value, just an id instead
|
||||||
bool isFirstDFColumn=true;
|
bool isFirstDFColumn=true;
|
||||||
|
|||||||
Reference in New Issue
Block a user