DataGrid - Property, Method, and Event Exceptions by Component Name
Not every DataGrid property, method, or event is available for all of the supported proprietary DataGrid components. These tables list all DataGrid specific properties, methods, and events, and identifies for each of the proprietary DataGrid components whether a specific property, method, or event is available ( • ) or un-available ( X ).
Note: To determine the type of grid you are working with, view the factory name associated with the grid. For more information, see DataGrid - Proprietary Components.
Keep in mind the Button, CheckBox, ComboBox, and RadioButton controls do not conform to the standard mouse click event behavior. These mouse events are not supported on certain controls because these mouse events are not applicable for those control types.
Left click – Click and MouseClick
Right click – No click events are raised
Left double-click – Click and MouseClick
Right double-click – No click events are raised
For more information see this Microsoft webpage:
http://msdn.microsoft.com/en-us/library/ms171542.aspx
(click here for definitions of the properties)
Property Name |
||||||||
Cols |
X |
X |
X |
• |
X |
X |
X |
• |
ColumnCount |
• |
• |
• |
X |
• |
• |
• |
X |
Focused |
X |
X |
X |
• |
X |
X |
X |
• |
MultiSelect |
• |
• |
• |
X |
• |
• |
• |
• |
RowCount |
• |
• |
• |
X |
• |
• |
• |
X |
Rows |
X |
X |
X |
• |
X |
X |
X |
• |
SelectedCell |
• |
• |
• |
X |
• |
X |
• |
• |
SelectedCells |
• |
• |
• |
X |
• |
X |
• |
• |
SelectedRow |
• |
• |
• |
X |
• |
• |
• |
• |
SelectedRows |
• |
• |
• |
X |
• |
X |
• |
• |
Text |
X |
X |
X |
• |
X |
X |
X |
• |
(click here for definitions of the methods)
Method Name |
Microsoft .NET DataGrid |
Infragistics DataGrid & UltraGrid |
FarPoint Spread |
ESL Data Grid |
Microsoft Flex Grid |
DevExpress |
PowerBuilder Data Window |
Java Grids, to include Clarify DataGrid |
Compass Table Translator |
ClickCell
|
• |
• |
• |
• |
X |
• |
X |
|
|
ClickCellByText
|
• |
• |
• |
• |
X |
X |
X |
|
|
ClickRow
|
• |
• |
• |
• |
X |
X |
• |
|
|
DoubleClickCell
|
• |
• |
X |
• |
X |
• |
X |
|
|
DoubleClickCellByText
|
•
|
• |
• |
• |
X |
X |
X |
|
|
DoubleClickRow
|
• |
• |
• |
• |
X |
X |
• |
|
|
GetCellBackColor
|
X |
X |
X |
X |
• |
X |
X |
|
|
GetCellText
|
X |
X |
X |
X |
• |
X |
X |
X |
|
GetCellValue |
•
|
•
|
•
|
•
|
X |
•
|
•
|
|
|
PerformClick (<NoParameters>) |
X |
X |
X |
X |
• |
X |
X |
|
|
PerformClickCell
|
X |
X |
X |
X |
• |
X |
X |
|
|
PerformDoubleClick (<no parameters>) |
X |
X |
X |
X |
• |
X |
X |
|
|
PerformDoubleClickCell
|
X |
X |
X |
X |
• |
X |
X |
|
|
RightClickCell |
•
|
•
|
•
|
•
|
X |
•
|
X |
|
|
RightClickCellByText |
•
|
•
|
•
|
•
|
X |
X |
X |
|
|
RightClickRow |
•
|
•
|
•
|
•
|
X |
X |
•
|
|
|
RightDoubleClickCell |
X |
•
|
•
|
•
|
X |
•
|
X |
|
|
RightDoubleClickRow |
X |
•
|
X |
•
|
X |
X |
X |
|
|
SelectCell |
• |
• |
• |
• |
• |
X
|
• |
X |
|
SelectCells |
X |
X
|
X
|
• |
X |
X
|
X
|
|
|
SelectColumn
|
|
|
|
|
|
|
|
X |
|
SelectRow |
• |
• |
• |
• |
X |
X
|
• |
X |
X |
SelectRowByText
|
• |
• |
• |
• |
X |
X |
X |
|
|
SelectRows |
• |
• |
• |
• |
X |
X
|
X |
||
SetCellValue |
•
|
•
|
•
|
•
|
X |
X |
•
|
• |
• |
(click here for definitions of the events)
Event Name |
Microsoft .NET DataGrid |
Infragistics UltraGrid |
Infragistics DataGrid |
FarPoint Spread |
ESL Data Grid |
Microsoft Flex Grid |
DevExpress |
PowerBuilder Data Window |
CellClicking |
•
|
X
|
•
|
•
|
X
|
X
|
X
|
•
|
CellClicked |
•
|
•
|
•
|
•
|
X
|
X
|
•
|
•
|
CellDoubleClicking |
•
|
X
|
•
|
•
|
X
|
X
|
X
|
•
|
CellDoubleClicked |
•
|
•
|
•
|
•
|
X
|
X
|
X
|
•
|
CellRightClicking |
•
|
X
|
•
|
•
|
X
|
X
|
X
|
•
|
CellRightClicked |
•
|
•
|
•
|
•
|
X |
X
|
X
|
•
|
CellRightDoubleClicking |
•
|
X
|
•
|
•
|
X
|
X
|
X
|
•
|
CellRightDoubleClicked
|
• |
• |
• |
• |
X |
X |
• |
• |
CellValueChanged |
X
|
X
|
X
|
X
|
X
|
X
|
X
|
•
|
SelectionChanged |
• |
• |
• |
• |
X
|
X |
X |
• |
Privacy | Trademarks | Terms of Use | Feedback
Updated: 18 June 2020
© 2016 - 2020 Pegasystems Inc. Cambridge, MA All rights reserved.