DataGridView
From Visual WebGui Wiki
| This article will have a few sections added to it soon, based on the following article type skeleton: NewControlTemplate |
| This article missing it's contents and needs writing. Please help contributing to this wiki and add contents. |
Contents |
Overview
The DataGridView control is functionally equivialent to the Windows Forms DataGridView control.
Availability
The DataGridView is one of the Out of the Box standard controls, which means it is free and available in all Visual WebGui versions.
See also
Samples of use
- Faking Password character and loading image in CellFormatting
- DataGridViewImageColumn feeding image in CellFormatting
- Population of DataGridViewComboBoxColumn
- Population of DataGridViewLinkColumn without a DataSource
- Editing Customers in NorthWind using DataGridView and SQL database
Limitations and workarounds
- DataGridView in SilverLight can show only 22 columns - limit being raised to 50 later
- Drag and Drop is not supported in DataGridView
- Using SetFocused (InvokeFocusCommand) to keep focus on DataGridView while setting CurrentCell
SDK Version highlights
Rererences
Forum discussons
- Use BindingSource when binding to object datasources
- Simulating a footer by setting the last row as frozen
- Placing a CheckBox in column header to simulate (de)Select all
- Changing the definition of initial sort order direction when clickin on column header
- DataGridViewImageColumn and Entity List as datasource
- Recommended maximum number of cells shown in browser at the same time is about 500
- Implementing row number labels on a DataGridView rows
- Customizing cells with controls of your choosing using Cell.Panel of type DataGridViewCellPanel (6.4.0 Release d and later)
- Keyboard navigation setting CurrentCell with help of SetFocused (InvokeFocusCommand)
- Obtaining thumbnail versions of images to put in DataGridViewImageColumn cells
- Showing PopUp relative to clicked cell in the DataGridView
Other references
- MSDN Windows Forms DataGridView documenation
- Various handy codesnippets for Windows Forms DataGridView
