Make a data grid match the style of a report?
Comments
-
I have a form with a data grid which works fine, but I would like the data grid to match the style of a normal report. For example, the header row of the data grid is currently grey, but I want it to be blue similar to what youd find when viewing a report. Is there any way to do this?
-
Yes! You can do this one of two ways. Either you can use custom CSS to change the style of the data grid to match that of the report, or you can use an advanced data grid instead of a normal data grid.
In order to add custom CSS, navigate to System -> Designers -> CSS -> Add -> Document, then upload the custom CSS file. Ive attached an example CSS file to this post you can use.
Then, in the form youre using the data grid in, enable the new style you just defined under Properties (Of the form itself, not the data grid) -> Style
[i]Using CSS in Forms: [/i][url=https://documentation.decisions.com/docs/using-css-in-forms]https://documentation.decisions.com/docs/using-css-in-forms[/url]Alternatively, an easier solution would be to use an advanced data grid instead of a data grid. The advanced data grid form control can be found in the data section of the form designer toolbox. This will give you the option to create a data grid with similar flexibility to a normal report.
[i]Advanced Data Grids: [/i][url=https://documentation.decisions.com/docs/advanced-data-grids?highlight=advanced data grid]https://documentation.decisions.com/docs/advanced-data-grids?highlight=advanced data grid[/url]
[i]edited by caleb.anton@decisions.com on 6/16/2023[/i]
Howdy, Stranger!
Categories
- 2.1K All Categories
- 18 General
- 155 Installation / Setup
- 991 Flows
- 86 Rules
- 203 Administration
- 204 Portal
- 433 General Q & A
- 600 Forms
- 282 Reports
- 3 Designer Extensions
- 38 Example Flows
- 32 CSS Examples
- 1 Diagram Tile
- 5 Javascript Controls
- 139 Pages
- 1 Process Mining
- New Features
- 150 Datastructures
- 50 Repository
- 169 Integrations
- 25 Multi-Tenant
- 21 SDK
- 40 Modules
- 38 Settings
- 20 Active Directory
- 12 Version 7
- 34 Version 8