Count Selected Rows

Tags: #<Tag:0x00007f8b18fc3500>

How can i get the count of selected rows, example if i select 3 rows it will return 3

Hi,

You can use getSelectedRange() method. Returned range has from and to cells. It should be easy to calculate the count of selected rows with that.

Wojciech