Need to make phenotype browser table using pagination to be able to sort the table correctly.
Aim
To make it.
Implementation
Remove gpf table and make new table instead (using grid). Initially loaded rows are 25 and when scrolling new 25 rows load. Sorting is happening in the backend. To get measures we pass selected instrument, search text, last loaded page number, current dataset id, sort by (optional) and order by (optional). When changing instrument or searching the sorting and the page counter reset.
UPDATE: Table is not supporting pagination. It loads 1000 measures initially. Above the table measure counter is added similar to Genotype browser/ Gene browser. Sorting is made locally.
Background
Need to make phenotype browser table using pagination to be able to sort the table correctly.
Aim
To make it.
Implementation
Remove gpf table and make new table instead (using grid). Initially loaded rows are 25 and when scrolling new 25 rows load. Sorting is happening in the backend. To get measures we pass selected instrument, search text, last loaded page number, current dataset id, sort by (optional) and order by (optional). When changing instrument or searching the sorting and the page counter reset.
UPDATE: Table is not supporting pagination. It loads 1000 measures initially. Above the table measure counter is added similar to Genotype browser/ Gene browser. Sorting is made locally.