Customise print widget

1319
6
Jump to solution
11-20-2018 09:22 AM
GarethYoung1
New Contributor III

Robert Scheitlin, GISP

Robert,

Is there a way to customise the options on the print widget?

Or can you remove them all together?

Thanks

Gareth

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Gareth,

  Did this work for you?

View solution in original post

0 Kudos
6 Replies
RobertScheitlin__GISP
MVP Emeritus

Sure which do you prefer? If you want to remove certain option then just set the display style of the html elements in the print widgets templates\Print.html file. If you which to remove the whole advanced button then change line 486 in the Print.js to 

  domStyle.set(this.advancedButtonDijit, 'display', 'none');
0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Gareth,

  Did this work for you?

0 Kudos
GarethYoung1
New Contributor III

Thanks Robert, that worked a treat

Is there a way to remove some layout and format options from the print widget?  I would just like A4 portrait and landscape and as a PDF.

0 Kudos
GarethYoung1
New Contributor III

Robert, is there a way to change the progress bar in the print widget?

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Gareth,

   The way I do it is add a css rule to the dojo-override.css

/* Progressbar*/
.claro .dijitProgressBarIndeterminate .dijitProgressBarTile {
  background: #efefef url("images/progressBarAnim2.gif") repeat-x top;
}
0 Kudos