BeforeRowsDeleted Event WinGrid™ allows Rows to be deleted by providing built in functionality. The end user simply selects one or many rows within the Grid and then presses the Delete keyboard key. The end user will be prompted for the rows that are to be deleted. If the user selects Yes or OK, then the rows will...
Binding to Program-Generated Flat Data Background This project illustrates the program generation of a DataTable (Flat Data) and binding of this DataTable to the WinGrid™ control. Overview This exercise illustrates how to: Programmatically Create a DataTable. Add Columns to the DataTable. Specify a Primary Key for...
Binding to Program-Generated Hierarchical Data Background This exercise illustrates the building of two DataTables, setting the Relationship between these tables in a DataSet and binding the Hierarchical result to the WinGrid™. Overview This exercise illustrates how to: Create a DataTable with program code. Create...
Binding WinGrid Rows to Text Boxes Background Many projects use the WinGrid™ to navigate a sorted result set and standard Text Boxes to edit the data. To make this work there needs to be a known relationship between DataSources and Grid Rows. For flat data this is not much of a problem since the UltraGridRow’s Ind...
Binding WinGrid to a Flat Data Source This topic is designed to get you up and running as quickly as possible by describing the minimum basic procedure for adding the WinGrid™ to a form in Visual Studio .NET. This procedure shows you how to add the WinGrid control to a Visual Studio .NET project and bind it to a f...
Binding WinGrid to a Hierarchical Data Source This topic is designed to get you up and running as quickly as possible by describing the minimum basic procedure for adding the WinGrid™ to a form in Visual Studio .NET. This procedure shows you how to add the WinGrid control to a Visual Studio .NET project and bind i...
Binding WinGrid to Data Using LINQ to SQL The .NET Language Integrated Query (LINQ) is a querying programming model that can be used with a data source. You can use LINQ within your programming language, such as C#, to retrieve data and easily manipulate the results. LINQ to SQL is an object relational model imple...
Card View You can choose Card View as an alternative to the traditional display of rows and columns for any band of WinGrid™. Card view presents an interface similar to the Contacts view of Microsoft® Outlook®, where each data record is represented as an index card and multiple cards are displayed on screen. The W...
CellClickAction Property Added Prior to this release, the CellClickAction property existed only in the UltraGridOverride class. Now, CellClickAction has been added to the UltraGridColumn class. This property allows you to control the behavior (on a per-column basis) that occurs when the user clicks a cell. For exa...
Changing Card View Style Card View can be set up to display your data in several different variations. The display can be customized through the Style property. Setting the Style property to one of the four following values exposed by the CardStyle enumeration causes a different look and behavior to take place: No...