Theme manager

Theme manager enables you to control the grid theme, which includes:

  • Theme,
  • Row coloring,
  • Vertical grid,
  • Horizontal grid,

To activate theme manager you need to have infoPanel config enabled. To open the config, click on the Theme manager icon at the bottom of the grid.

Theme manager example
app.component.ts
source.ts
Name
Position
Team
Training
Company
Mark Ross
Team Leader
TI
13
Genco Pura Olive Oil Company
Concepción King
Carpenter
KN
33
Globex Corporation
Vanecia Green
Painter
CR
42
Soylent Corp
Samara Anderson
Electrician
PU
100
Initech
Maxine Hamilton
SEO Manager
KN
29
Gekko & Co
Dan Lee
Director
TI
92
Sterling Cooper
Paul Long
Web Developer
AN
13
Hooli
Madonna Snyder
Product Manager
DR
81
Vehement Capital Partners
Oriole Perkins
Public Relations
TI
72
Massive Dynamic
Ernest Jordan
Copywriter
TI
55
Wonka Industries
Showing 10 items
import { Component } from '@angular/core';

@Component({
	template: `
		<gui-grid [columns]="columns"
				  [source]="users"
				  [sorting]="true"
				  [infoPanel]="infoPanel"
				  id="gw-theme-manager-grid">
		</gui-grid>`
})
export class ThemeManagerComponent {

	users = users;

	columns: Array<GuiColumn> = [{
        header: 'Name',
        field: 'name'
    }, {
        header: 'Position',
        field: 'position'
    }, {
        header: 'Team',
        field: 'teamShort',
        width: 80
    }, {
        header: 'Training',
        field: 'training',
        type: GuiDataType.NUMBER,
        width: 100
    }, {
        header: 'Company',
        field: 'company'
    }];
			
	infoPanel: GuiInfoPanel = {
		enabled:true,
		infoDialog:false,
		columnsManager:false,
		schemaManager: true
	 };
	
	
}
[
    {
        "name": "Mark Ross",
        "company": "Genco Pura Olive Oil Company",
        "position": "Team Leader",
        "teamSort": "TI",
        "training": 13,
        "budget": -7000
    }, ...
]


Info Panel - Inputs

InputTypeDefaultDescription
infoPanelboolean | GuiInfoPanelfalse Pass a boolean to enable or disable info panel. Adding GuiInfoPanel object, allows deeper info panel configuration.
enabledbooleanfalse Enable/disable info panel.
schemaManagerbooleantrue Enables schemaManager.
infoDialogbooleantrue Sets info dialog visibility.
columnsManagerbooleantrue Sets column manager visibility.
sourceSizebooleantrue Sets source size visibility.

Related articles:

Related articles:









We use cookies to improve your experience. If you continue browsing, we assume that you consent to our use of cookies.