Table Cells Selection
Table Cells Selection
How may i able to know if 2 cells are selected in a table? Id like to have a merge cells features but i wanna check first if there are 2 or more cells being selected.
-
- Site Admin
- Posts: 17805
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Table Cells Selection
For this purpose, I recommend using table.CanMergeSelectedCells method.
It checks not only if two or more cells are selected, but also if the selection has a rectangular shape.
As for checking selected cells, use table.IsCellSelected.
It checks not only if two or more cells are selected, but also if the selection has a rectangular shape.
As for checking selected cells, use table.IsCellSelected.