Missing documentation of getSelections

Posted by: davide.vago on 27 January 2020, 11:44 pm EST

  • Posted 27 January 2020, 11:44 pm EST

    Good morning/afternoon

    I’m reaching you out as I’m currently looking at the function getSelections, when I fire this function I get for each array (selection) a field called totalRange that contains keys: start and end. I was wondering if these information were useful but I can’t find anything explaining what they represents and how to use them.

    ref: https://www.grapecity.com/spreadjs/docs/v13/online/SpreadJS~GC.Spread.Sheets.Worksheet~getSelections.html

    Would it be good to have some documentation about it, maybe with some sample.

  • Posted 28 January 2020, 4:08 pm EST

    Hi Davide,

    As mentioned in the docs(https://www.grapecity.com/spreadjs/docs/v13/online/SpreadJS~GC.Spread.Sheets.Worksheet~getSelections.html), getSelections() method returns an array of GC.Spread.Sheets.Range object.

    Each range object has row, col, rowCount, colCount properties but no "totalRange " property, would you please explain which property you are referring to? I tried the getSelections() method and couldn’t find any property with the name “totalRange”.

    Regards

    Sharad

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels