Time
General Settings
Time field Configuration Interface.
Data Type
Define the type of field. When setting it to Time, you can inform a time format into this field.
Label
The Label option lets you define the title of a field. Example: If the database field name is “cmp_name_client”, You can display a different name for the user, like “Client Name”.
Do Not Repeat Value
Do not repeat the value of the field if it is the same as the previous record.
SQL Type
It informs the data type of field in the database.
Values Format
Format of Values with Regional Settings.
Format of Values without Regional Settings.
Regional Settings
It allows applying the Regional Settings to format the Time. When not enabled, it displays the Time separator attribute (Check the Regional Settings).
Display
It offers predefined formats for displaying Time.
Detail Mask
Define the format of the field in the Grid. It uses the patterns of PHP function Date.
h:i:s | 11:33:20 |
#h:i:s | 123:43:27 (accumulating the hours) |
Internal Format
It allows defining the field format when the SQL type is different from TIME. You must use the characters HH, II, and SS that correspond to Day, Hour, Minutes and Seconds.
- Example 1: If the field is storing the Date value in a char(8) where the positions 1 to 4 represents the year, the positions 5 and 6 is the month and the position 7 and 8 is the day, you must define the internal format as YYYYMMDD
- Example 2: If the field is storing the Date value in a char(6) where the positions 1 and 2 represents the month and the positions 3 to 6 is the year, you must define the internal format as MMYYYY
Display Settings
The Display Settings allows to define the CSS values individually for each field. For each Display schema of scriptcase, there are the same attributes available in Interface.
Display Settings configuration Interface.
- Field Settings
- Font Style : Allows to select the font family, that will be applied to the application field.
- Font Size : Allows to choose the font size, that will be applied to the application field.
- Italic Text : Formatting the Text to be Italic.
- Bold Text : Formatting the Text to be Bold.
- Don’t truncate : Do not truncate by the amount of bytes or by the Grid columns.
- Number of characters : Amount of characters in bytes to display.
- Horizontal Alignment : Allows to position the label of the filter in the desired location (left right, center and justify).
- Vertical Alignment : Allows to position the label of the filter in the desired location (baseline, sub, super, top, text-top, middle, bottom, text-bottom).
- Background Image : Background Image of the field.
- Line Break : Allows the Line Break.
- Font Color : Allows to apply a color to the font by choosing a color from the color palette.
- Background Color : Allows to apply a color to the field background by choosing a color from the color palette.
- Width : Allows to define a width to the field.
- Height : Allows to define a height to the field.
- Title Horizontal Alignment : Define the Title Horizontal Alignment of the field.
- Title Vertical Alignment : Define the Title Vertical Alignment of the field.
- Bold : Applies the bold type font to the field.
//## PDF Configuration {#id-04}
Chart Settings
By using this option, you will see an icon on the Field Title, this icon displays a chart relating to the field.
On this type option you need to choose two columns to build the chart. The first one is the field its self that you are working with, and the second one is the you chose and is called “Column for Label”.
Bar Chart Interface.
- Group by Label : Groups the values of the column by the label. Similar to the effect of the group by of the a Select.
- Summary Function : Function that summarizes the data applied to the column. The functions that can be used on the field are the following: Count, Sum, Max, Min and Avg.
- Configurable Chart : Allows the user to setup the parameters of the chart creation when the application is running.
- Display Values : Displays the values of the generated chart.
- Column for Label : Selecting the column that will be the label for the field.
- Chart Width : Width of the chart, in pixels.
- Chart Height : Height of the chart, in pixels.
Chart Layout
Chart layout settings interface.