rendered header rows (0 if the header is hidden)
body rows of the model (negative = unknown)
rendered footer rows (0 if the footer is hidden)
per model column its aria-colindex (0 = hidden)
Readonly bodybody rows of the model (negative = unknown)
Readonly footerrendered footer rows (0 if the footer is hidden)
Readonly headerrendered header rows (0 if the header is hidden)
aria-colcount of the grid: the number of shown columns.
aria-rowcount of the grid: header + body + footer rows, -1 if the body does not know its row count.
aria-rowindex of a row (1-based over header → body → footer).
header, body or footer
row index in the area
the 1-based row number in the whole grid
Static createReads the counts of a table model.
the table model (only the area models, header/footer visibility and column widths are read)
the counts
Row and column numbers for screen readers – computed once per render pass from the table model.
With virtual scrolling only the visible rows and columns are in the DOM, so the table tells screen readers the real size (
aria-rowcount,aria-colcounton the grid) and the position of every rendered row and cell (aria-rowindex,aria-colindex):setHeaderVisible(false)) counts 0,setColumnVisible(…, false)has noaria-colindex, the following columns move up,getRowCount() < 0) givesaria-rowcount="-1".Example
Since
1.1.91