![]() |
|
GTP.NET FAQ 10941How can I determine which rows are selected in the grid? Please note that this article
refers to the GTP.NET Jump to article- 2007-07-14 12:17:00 - Email plexityHide Question How can I determine which rows are selected in the grid? It's easy to determine which row is selected with: Answer Often in gui controls like the GTP.NET there is a distinct difference between "select" and "focus". The "thing" with focus can almost always be only one, and focus often mean keyboard-focus (where will the key-strokes go). Selections can often consist of many "items", often refered to as multi-select. So in the grid there is only one Focused cell: gantt1.Grid.FocusedCell. And there are possibly many selected cells: ArrayList al=gantt1.Grid.GridStructure.SelectedCells(); Each Cell has a Selected property that is true or false. You can programatically set this if needed.
|
"This is too GREAT. I must say you have strong support and really good programmers at your place. Your entire team is good. Just Fantastic! – 100%" |
| (C) 1999-2010 PlexityHide.com Grastensvagen 24, S-163 45 Spanga Sweden E-mail: support@plexityhide.com |