CellRange Structure and ListBox SelectionMode

Posted by: rkane on 29 March 2018, 3:47 am EST

    • Post Options:
    • Link

    Posted 29 March 2018, 3:47 am EST

    CellRange is widely used in events and properties in the FlexGrid but does not seem to work for identifying rows in a grid that uses ListBox selection mode. The row properties (Row, Row2,TopRow,BottomRow) only indicate the first group of row when non continuous rows are selected. Should I not use CellRange for finding selected rows in case the applications implement ListBox selection? Can you add a property to CellRange that will correctly indicate rows for ListBox?

  • Posted 1 April 2018, 7:57 pm EST

    Hello,

    As mentioned in the following post, you may use the Selected property of C1FlexGrid.Rows for finding the selected rows (their index etc) and you can use this property inside any event:

    https://www.grapecity.com/en/forums/wpf-edition/row-resize-problem#once-again-hifor-getting-t_2

    So, is there any specific reason for your wish to use CellRange and not this Selected Rows collection for identifying the selection of rows in C1FlexGrid.

    Regards,

    Ruchir Agarwal

Need extra support?

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

Learn More

Forum Channels