Version

Search Results

Assign Specific Widths to Columns

Assign Specific Widths to Columns Occasionally, you may want to assign specific widths to your WinGrid™ columns. To do this, you can use the Width property of the Column object. The following code should be placed in the InitializeLayout event. The following example code loops through all the columns in the Band a...

Assigning an Editor Using ColumnStyle

Assigning an Editor Using ColumnStyle Each WinGrid™ Column uses an embeddable editor to allow your end user to change a cell’s value. You can change the type of embeddable editor by setting the ColumnStyle property. For more information, see Embeddable Editors. The following example code demonstrates how to edit a...

Auto-Fit Columns Using the AutoFitStyle Property

Auto-Fit Columns Using the AutoFitStyle Property You can specify that the WinGrid™ automatically resizes the last column in each band in order to occupy all of the available horizontal space. You can do this by setting the AutoFitStyle property on the DisplayLayout to ExtendLastColumn. For more information on auto...

Auto-Sizing Columns and Rows

Auto-Sizing Columns and Rows The WinGrid™ has the ability to auto sizing the columns and rows based on the setting of the AutoFitStyle property. Auto-fitting columns to WinGrid’s width Before you start writing any code, you should place using/imports directives in your code-behind so you don’t need to always type ...

Automatic Repetitive Paste in Grids

Automatic Repetitive Paste in Grids This topic explains the WinGrid™ automatic repetitive paste functionality and provides a quick demo example of how this functionality works. The topic is organized as follows: Introduction Automatic Repetitive Paste – Conceptual Explanation Example Limitations Related Topics Int...

Automatically Fit Cards in the Available Space

Automatically Fit Cards in the Available Space You can control the way cards are sized within WinGrid™ with the AutoFit property. Once set to True, the widths of all cards will either expand or shrink in order to completely fill the card area of WinGrid. In other words, when you enable AutoFit, you will not see an...

AutoSuggest Highlight Appearance

AutoSuggest Highlight Appearance AutoSuggest Highlight Appearance Topic Overview Purpose This topic demonstrates how to configure the appearance of highlighted text in the WinComboEditor™ control’s auto-suggest dropdown list and embedded auto complete cell values in WinGrid columns. Required background The followi...

Bands and Hierarchical Data

Bands and Hierarchical Data Because the WinGrid™ is designed to display hierarchical data, the concept of data bands is built into the grid at every level. A band of data is equivalent to all the rows that are drawn from the same recordset, or alternatively, all the rows that appear at the same level of the data h...

BeforeEnterEditMode Event

BeforeEnterEditMode Event Whenever a WinGrid™ cell receives focus and editing is enabled, the moment right before the Cell enters into Edit Mode, the BeforeEnterEditMode event fires. This event can be cancelled if certain conditions are not met. For example, in this event, you can check for special conditions with...

BeforeExitEditMode Event

BeforeExitEditMode Event Whenever a user is editing data in a WinGrid™ Cell and the Cell loses focus by the act of Tabbing or Clicking on other Form elements, the Cell will exit edit mode. The BeforeExitEditMode event will fire right before this happens, allowing us an event to test for certain conditions and eith...