11. MetaControls, Meta DataGrids, and the Drafts
Introduction to Meta DataGrids
<< Introduction to MetaControls   |   Back to Main   |   Introduction to the Drafts >>

View Source
will open in a new window
Generated DataGrid Objects
Although the concept is known as a Meta DataGrid... the generated DataGrid objects in and of itself is just a subclass of the actual QDataGrid object. (Note that this is different than a MetaControl, which is not a control, but is in fact a single data object and a collection of controls that can be generated from and linked to it.)

A generated/meta datagrid is simply a QDataGrid with a bunch of Meta___() methods to allow you to easily define and add columns for a given data class.

Using simple string properties or more complex (and more powerful) Qcodo Query Nodes, you can add any column (even columns from linked tables) to the datagrid, and the meta-functionality will automatically take care of things like the column's Title, Html, and Sorting properties.

It even comes with its own MetaDataBinder(), and the datagrid is already set up to use that as its databinder (but of course, even this is override-able).

But again, similar to MetaControls, note that the datagrid is just a regular QDataGrid object, and the columns are just regular QDataGridColumn objects, which means that you can modify the colums or the datagrid itself however you see fit.
Previous|1|Next Results: Viewing items 1-4 of 4.
Name Start Date End Date Manager's Username Project Status Type Faux Edit Column
ACME Website1 Mar 01 2004 Jul 01 2004 kwolfe Completed Click Me
State College HR Sxzxxystem Feb 15 2006 Open Click Me
xx Mar 01 2006 Apr 15 2006 Open Click Me
ACME Payments Aug 15 2005 Oct 20 2005 kwolfe Cancelled Click Me