Modify/Suppress the Row Deletion Message Box If you would like to create your own message box when rows are deleted or merely wish to suppress the default message box from appearing, it only takes one line of code. Place this code within the BeforeRowsDeleted event of the WinGrid™ control. This event passes in spe...
Moving/Swapping Columns In This Topic To Move a Column To Swap a Column Group Moving and Swapping ColPosChanged Events The WinGrid™ has built-in functionality for allowing the user to move and swap columns. By default, column moving is enabled in non-Row Layout mode. In Row Layout mode you must explicitly enable c...
Navigation and Selection The data in the™ control can be navigated using the mouse or the keyboard. The following links guide you through the various methods of navigation and selection. AfterRowActivate Event Binding WinGrid Rows to Text Boxes Changing the Active Row Changing the Behavior of the TAB Key ClickCell...
New Cell Appearances Two new appearances were added to WinGrid™. The ReadOnlyCellAppearance on the Override defines the appearance of cells when they are read-only, or not editable. The SelectedAppearance on the UltraGridCell defines the appearance of cells when they are selected. You can modify these appearances ...
New FormattedTextEditor Option Added to the ColumnStyle Enumeration The ColumnStyle enumeration defines how a certain column will behave. In 2006 Volume 1, we added a FormattedText option to this enumeration to support the WinFormattedLinkLabel™ control as an embeddable editor. Now, we added the FormattedTextEdito...
New Style for HotTracking Cells We added a new CellHottrackInvalidationStyle property to the UltraGridLayout . This property defines how WinGrid™ should react to HotTracking over cells. WinGrid always invalidates a cell when entering or leaving it with the mouse. This causes the cell to redraw itself. In many situ...
No Repeat Column Headers Another cosmetic feature of WinGrid™ is called No Repeat Column Headers. Through a single property setting, you can cause WinGrid to display column headers several different ways. Normally, when working with a hierarchical WinGrid, column headers are repeated for each nested sub-collection...
Overriding Default Cursor Movement Background In some user environments the user may need to have the WinGrid™ move the cursor in a manner similar to Excel. The PerformAction method of the WinGrid provides the developer with almost unlimited flexibility when overriding the normal behavior. Questions How do I get W...
Page Break When Printing Topic Overview Purpose This topic provides a conceptual overview of the WinGrid™ printing feature that inserts a page break prior to each row meeting your specification criteria. Prerequisites To complete the procedure, you need to understand the following topics if you are not familiar wi...
Performance Guide The purpose of this guide is to provide some general programming practice guidelines and trouble shooting tips and tricks to improve performance when using the WinGrid™ control. Memory Usage Formatting and Appearance based Performance Improvement