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
- 4.2K All Categories
- 67 General
- 11 Training
- 202 Installation / Setup
- 1.1K Flows
- 106 Rules
- 262 Administration
- 212 Portal
- 490 General Q & A
- 695 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 52 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 179 Pages
- 5 Process Mining
- New Features
- 179 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 78 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 83 Lunch And Learn Questions