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.3K All Categories
- 74 General
- 13 Training
- 207 Installation / Setup
- 1.1K Flows
- 110 Rules
- 270 Administration
- 212 Portal
- 496 General Q & A
- 709 Forms
- 344 Reports
- 3 Designer Extensions
- 48 Example Flows
- 57 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 185 Pages
- 5 Process Mining
- New Features
- 186 Datastructures
- 70 Repository
- 229 Integrations
- 28 Multi-Tenant
- 27 SDK
- 81 Modules
- 58 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 143 Lunch And Learn Questions