Data grid configuration


The data grids can be configured in many different ways using the actions in the menu shown clicking with the mouse right button on the grouping band, on the fields names in the header or in the first column to the left of the data grid.

The data grid configuration menu contains the following items:

·configcolumna16.jpg Column: name of the column field. This item only appears if the mouse right button is clicked on any field header in the data grid. It shows the field name and shows a submenu with the following items:  

·Group by this column: groups the information of the database by the selected column. It has the same effect as if the field header is dragged and dropped onto the grouping band.  
·Remove grouping by this column: removes the grouping of the information by the selected field.  
·Ascending order: sorts the information by the selected field in ascending order.  
·Descending order: sorts the information by the selected field in descending order.  
·Remove sorting in all columns: removes the sorting of the information by all fields, except grouped fields.  
·Align column: allows to align the contents of the selected column (Left, Right or Center).  
·Adjust the width of this column: adjusts the width of the selected column to the optimum width, so that the information of this column in all visible records can be seen completely.  
·Hide column: hides the selected column.  
 
·elemtabla16.jpg Table elements: this item allows to select the visibility of the data grid elements.  

·Column grouping band: shows or hides the grouping band.  
·Filter band: allows to select when the filter band will be shown: never, always or only when a filter is applied to the database.  
·Navigator: shows a navigator bar in the lower left corner of the data grid that provides the following actions:  
·Go to the first record  
·Go to the previous data page  
·Go to the previous record  
·Go to the next record  
·Go to the next data page  
·Go to the last record  
·Refresh the grid information  
·Mark current record  
·Go to the last marked record  
·Open the filter builder dialog  
·Header: shows or hides the header with the fields names.  
·Footer: shows or hides the grid footer.  
·Groups footer: allows to select when the groups footers will be shown: never, always or when the groups are expanded.  
·Notes field in a row: The Notes field can be shown as a regular column, or can also be shown in a row below the record information. These are the available options:  
·Not visible: the Notes field will not be shown in a row.  
·Visible with full height: the Notes field will be shown in a row with enough height to show all the contents of the field.  
·Visible up to x lines: the Notes field will be shown in a row with enough height to show 5, 10, 15 or 20 lines.  
·Bands title: this item is only available in the Bands data grids. Allows to show or hide the title of the bands.  

·grid16.jpg Table visual appearance: this item allows to modify the visual appearance of the data grid.  

·Automatic row height: controls the number of lines that will be shown in the data grid for every record.  
·Disabled: every record will be shown in a single line.  
·Full height: every record will take the number of lines necessary to show all the information of the visible fields.  
·Up to x lines: every record will be shown in 5, 10, 15 or 20 lines as a maximum.  
·Automatic column width: if this item is checked, the program will adjust the width of all columns to fit them all in the data grid. If this item is not checked, the width of every column will be determined by its contents and the grid could need to be scrolled to see all the columns.  
·Adjust the width of all columns: adjusts the width of all columns to show the information in an optimum way.  
·Automatic header height: if this item is checked, the program will adjust the height of the columns header to fit the title of all columns.  
·Column filter: if this item is checked, the program will show an arrow in the header of every column. This arrow will show a menu with items to filter the database by the contents of the field.  
·Hide grouped fields: if this item is checked, grouped columns will be hidden in the data grid while they are grouped. If this item is not checked, grouped columns will not be hidden.  
·Groups always expanded: if this item is checked, when the data grid is grouped all groups will be automatically expanded. If this item is not checked, groups will be shown collapsed.  
·Ignore empty fields in summaries: if this item is checked, the summary results will not take into account records with empty fields. For instance, if you create a Count for a column in the grid summary, the program will only count the records that have some content in the selected column. If this item is not checked, the program will take into account all available records for summary calculations.  
·Hide empty fields: this item is only available in Cards data grids. If it is checked, empty fields will be automatically hidden.  
·Separation lines: this item allows to control the painting of separation lines in the data grid. Available options are None, Horizontal, Vertical or Both.  
·Active row indicator: if this item is checked, the data grid will show an arrow in the left grid side as an indicator of current record. At header level, the grid will also show a button that allows to modify the visibility of columns and bands.  
·Select complete row: if this item is checked, all the columns of the selected record will be shown in a different background color. In this case, column text searching will be applied to the main grid column. If this item is not checked, all the columns of the selected record will be shown in a different background color except the selected column. In this case, column text searching will be applied to the selected column.  
·Invert selection: this item is only available if the previous item is not checked. If this item is checked, all the columns of current record will have the selection background color, except the selected column. If this item is not checked, only the selected column will have selection background color.  
·Mouse hint on incomplete cells: if this item is checked, the program will show a hint window with the content of incomplete cells when the mouse is moved over the cell.  
·Ellipsis in incomplete cells: if this item is checked, the text of incomplete cells will be ended with an ellipsis (...) indicating that the cell content cannot be shown in its entirety.  

·dialogoseleccolumnas16.jpg Column selection dialog: this item shows a dialog with the columns that are hidden in the data grid. To hide more columns, drag them from the grid header and drop them in this dialog. To show hidden columns, drag them from this dialog and drop them in the desired position of the grid header.  

·filtrar16.jpg Filter builder dialog: this item shows a dialog that allows to build complex filters for the database. The dialog contains buttons that allow to add conditions to the filter. Every filter condition contains a field name, an operator and a value. For instance, a filter to show the records modified between two dates would look like this:  
   Modified is greater than 02/07/2005 and
   Modified is less than 08/01/2005

·expandircolumnas16.jpg Expand all groups: when the data grid is grouped, this item expands all the groups.  

·contraercolumnas16.jpg Collapse all groups: when the data grid is grouped, this item collapses all the groups.  

·guardarconfigtabla16.jpg Save current table configuration: shows a dialog that allows to save the data grid configuration with a name. The configuration not only includes the visual appearance of the grid, but also the grouping, sorting and filtering. For instance, you could group the information by Project and Client fields and sort it by date. This configuration could be saved with the name "Data grouped by Project and Client and sorted by date".  

·restaurarconfigtabla16.jpg Restore a saved table configuration: shows a dialog that contains all the grid saved configurations. To restore one of them, press the button "Restore the selected configuration". Saved configurations can also be edited, deleted or printed.  

·inicializarconfigtabla16.jpg Restore the table default configuration: allows to restore the default grid configuration.  

·exportar16.jpg Export table data: this item shows a menu which allows to export the table data in Text, Html, XML and Excel formats.