On 01/02/2018 23:25, Pankaj Bansal wrote:
Ok, I got your point. In the example you gave, as addSelectionInterval was called from setSelectedIndices with 0 at last, the lead/anchor should be 0/0 not -1/-1.


Can somebody clarify why -1/-1 is incorrect? lead/anchor values are not min/max selected element, it can be any elements: selected/unselected and is not necessary first/last selected element.


--
Best regards, Sergey.

Reply via email to