getSelectionCount returns wrong result after selectAll
getSelectionCount returns wrong result after selectAll
If I already have some rows selected in the grid and then I call selectAll to select all the rows in grid then the getSelectionCount returns total rows + no. of rows I had already selected.
To get correct result I had to first use clearSelection and then call selectAll.
Is this the expected way to call selectAll() ? or is it a bug ?