Relates :
|
When cellSelectionEnabled is true, and multiple cells in a single row are selected, the List returned from getSelectedIndices() will contain an index for each selected cell, not row. Thus, for instance, if I have a single cell selected in the first row, and three cells selected in the second row, the List returned will be [0, 1, 1, 1]. I would only expect to find [0, 1]. Per cell selection queries should use getSelectedCells(). getSelectedItems() also displays this behavior.
|