What is the a best/correct way to create a Pentaho Dashboard (CDE) that uses full width (100%) of a browser window size? I need to remove the default 960 pixel width that screen.css defines.
2
votes
1 Answers
5
votes
Use
bootstrapdashboard type instead of defaultblueprint. The dashboard type can be changed inSettings > Dashboard Typein CDE editor.If you want to use full width you need to override default CSS definition of
container div. The default value comes frombiserver-ce/pentaho-solutions/system/pentaho-cdf/css/cdf-bootstrap-style-includes.css..container { width: 1170px; }To override the CSS navigate to
Add Resourcein a dashboardLayoutdefinition and addCSS Code Snippetwith following code:.container { width: auto; }