How Do I Give Color To a Non Editable Column?
This lesson describes how coloring a non editable column in a Data Grid table, using the Data Grid Helper plugin.
Opening Columns Builder
Setting the Editable Properties of a Column to False
Apply The Column Builder Properties To The DataGrid
Going Back to The Data Grid Properties
Installing the DGH Properties Script With the DGH's Scripts Installer
Selecting a Color for Non Editable Columns
The columns color properties are now available. We can select a color for the non editable columns of our data grid.
Open the color picker by clicking on the color rectangle of the "Color For Not Editable Columns" properties. (1) In this example, we have selected a yellow color. The color is immediately applied to the datagrid non editable columns.
You can remove the selected color at any moment by clicking on the "Clear" button (2).
Testing The Result
Adding Transparency to a Column By Changing the Column Ink Property
The column ink property allows to change the column transparency. In this example we chose the "addMin" value, for displaying the row alternated color.
Note that the final result for a "Column Ink" may depend of the chosen colors for the datagrids (alternate row color, column color, etc). You can try each "Column Ink" values, and then, decide what appareance is better for your datagrid.
0 Comments
Add your comment