The following sample applications demonstrate the powerful features that are available with Codejock Grid Control components.
Each sample is provided as a stand alone executable that can be easily downloaded. All samples are included with our products and are provided with complete source code.
The Grid Sample demonstrates how to use almost all of the features available in the Grid control. You will see how to add rows, change column header style, add icons to items, group row, hide\show the group box, freeze columns, change grid line style, enable multiple selection of rows, add multi-line items, integrate a field chooser, use a filter to display specific rows, colorize items, display the Grid in tree view, print the Grid, display preview rows, add buttons and combo boxes to an item, focus entire row or individual item on click, and many more.
Sample Uses:GridSample.zip
Size: 10.47 Mb
The Track Control Sample demonstrates using the Grid Control and Track Control together as featured in this sample.
Sample Uses:TrackControl.zip
Size: 7.98 Mb
The Add Record Ex sample demonstrates how to use the AddRecordEx method which is used to add records "on the fly". The advantage of AddRecordEx is rows will be updated without the need to call Populate. This makes it extremely fast and easy to update a single row. This is useful for doing tasks such as changing a checkbox. Doing this will also retain the collapsed state of groups, which Populate will reset.
Sample Uses:GridAddRecordEx.zip
Size: 2.35 Mb
The Custom Draw sample demonstrates how to implement custom controls into Grid cells such as a progressbar, check box, or option button.
Sample Uses:CustomDrawGrid.zip
Size: 2.35 Mb
The Grid Data Binding sample demonstrates how to bind the control data to a source such as an Access Database, Excel files, and dBASE files. The sample shows how to load a database and bind the Grid data to the database. Several different connection methods are provided as well as some sample databases if needed.
Sample Uses:GridDataBinding.zip
Size: 2.47 Mb
The Spreadsheet sample demonstrates how to easily configure the Grid Control using standard features to create a Microsoft Excel style spreadsheet.
Sample Uses:SpreadsheetSample.zip
Size: 3.53 Mb
The Grid Item Controls sample demonstrates how to add controls to an item\cell such as a button.
Sample Uses:GridItemControls.zip
Size: 2.35 Mb
The Grid Custom Heap sample demonstrates how to better manage memory in the Grid control. Repeatedly adding and deleting a large number of records can cause the system not to free up memory. Using the Grid Control's custom memory manager eliminates any memory management problems and allows any number of records to be freely added or deleted without consuming more and more resources.
Sample Uses:GridCustomHeap.zip
Size: 2.39 Mb
The Grid Dialog sample demonstrates how to add a Grid control to a MFC dialog. You will see all that is needed is to add a Custom Control with the class set to XTPReport.
Sample Uses:GridDialog.zip
Size: 2.37 Mb
This sample demonstrates how to use Grid control for displaying a large volume of data without loading all data into the control. The concept of virtual content implies that only data to be displayed should be loaded and provided to the control in a user friendly representation. This not only prevents from major performance related issues but also helps to keep application memory consumption low.
Sample Uses:VirtualList.zip
Size: 2.81 Mb