Initial display of grid with client side sorting enabled
Posted: Wed Mar 25, 2015 1:06 pm
It appears that the collating sequence difference between ASCII and EBCDIC may be the reason why the initial display of a grid with client side sorting enabled with an initial sort column that has alpha numeric data could potentially not display the initial row(s).
The client side sorting settings are as follows
* sortable columns = true
* default sort order = ascending
* initial sort column = 2
The attachment(s) show a modified GRID001D and R from PUISAMPLES that represents a load all grid with a max number of rows of 24. GRID001R reads the PRODUCTSP file in ascending sequence where product name is the sort field. RRN and a checkbox have been added to the first column of grid. The initial display has RRN = 1 as the first row and the scroll bar is visually not at the top, indicating that one or more rows are not being displayed (see attachment 1) After doing a page up the scroll bar visually appears at the top and RRN = 19 is displayed as the first row in the grid.
Is this being caused by difference in collating sequence between ASCII and EBCDIC? Is there a way to get the first row, based on initial sort column and default sort order to display when initial screen shows?[attachment=1]EBCDIC-ASCII-3.jpg[/attachment][attachment=0]EBCDIC-ASCII-4.jpg[/attachment]
The client side sorting settings are as follows
* sortable columns = true
* default sort order = ascending
* initial sort column = 2
The attachment(s) show a modified GRID001D and R from PUISAMPLES that represents a load all grid with a max number of rows of 24. GRID001R reads the PRODUCTSP file in ascending sequence where product name is the sort field. RRN and a checkbox have been added to the first column of grid. The initial display has RRN = 1 as the first row and the scroll bar is visually not at the top, indicating that one or more rows are not being displayed (see attachment 1) After doing a page up the scroll bar visually appears at the top and RRN = 19 is displayed as the first row in the grid.
Is this being caused by difference in collating sequence between ASCII and EBCDIC? Is there a way to get the first row, based on initial sort column and default sort order to display when initial screen shows?[attachment=1]EBCDIC-ASCII-3.jpg[/attachment][attachment=0]EBCDIC-ASCII-4.jpg[/attachment]