The Column Tasks menu allows you to set the column caption, data field, input mask, aggregate, caption style, column style, and value items for a column, as well as set the following properties: Visible, ColumnVisible, and EnableDateTimeEditor.
The Column Tasks menu can only be accessed when the grid is bound to a data source. To access the Column Tasks menu, either click a column in the grid or select Column Tasks from the C1TrueDBGrid Tasks menu.
The Column Tasks menu operates as follows:
Clicking the drop-down arrow in the Select Column box opens a list of available columns in the grid. If you clicked a column in the grid to open the tasks menu, that column will be the selected column.
Entering a caption into the Column Caption box set the Caption property for the column.
Clicking the drop-down arrow in the Data Field box opens a list of available fields in the data source.
Clicking the ellipsis button in the Input Mask box opens the Input Mask dialog box.
Clicking the drop-down arrow in the Aggregate box opens a list of available aggregate functions, such as Count, Sum, Average, Min, Max, Std, StdPop, Var, VarPop, and Custom. For details on the available aggregate functions, see the AggregateEnum enumeration.
Selecting the Visible check box sets the Visible property to True for the selected column. The default is checked.
Selecting the Visible when Grouped check box sets the ColumnVisible to True for the selected column. The default is unchecked.
Selecting the Edit using DateTimePicker check box sets the EnableDateTimeEditor property to True for the selected column. The default is checked.
Clicking Caption Style opens the Caption Style editor for the selected column, which allows you to specify the properties for the caption, including style, fill effects, and images.
Clicking Column Style opens the Column Style editor for the selected column, which allows you to specify properties for the column, including style, fill effects, and images.
Clicking Value Items opens the Value Items editor for the selected column, which allows you to specify properties for the presentation and behavior of the ValueItems in the column.
Clicking C1TrueDBGrid Tasks returns you to the C1TrueDBGrid Tasks menu. For details on the C1TrueDBGrid Tasks menu, see C1TrueDBGrid Tasks Menu.
Clicking Dock in parent container sets the Dock property for C1TrueDBGrid to Fill.
If C1TrueDBGrid is docked in the parent container, the option to undock C1TrueDBGrid from the parent container will be available. Clicking Undock in parent container sets the Dock property for C1TrueDBGrid to None.
Clicking Add Query opens the Search Criteria Builder dialog box, which allows you to create or modify a query.
Clicking Preview Data opens the Preview Data dialog box, where you can preview the data in the DataSet.