Forum Discussion

Re: Total Field or Column Header Colorization in a Summary Report

Just create a code page named script.html (it is a HTML page not a JS pageand place the code in the pastie below in it. Then place the code page on your dashboard (at the bottom so it is not very visible). There is nothing visible in script.html but when it loads it will modify the headers of the summary reports to the colors specified.

Color Summary Report Headers
https://haversineconsulting.quickbase.com/db/bnsv6rm74

Pastie Database
https://haversineconsulting.quickbase.com/db/bgcwm2m4g?a=dr&rid=668

Notes:

(1) I named a new technique with the demo and called it "Dashboard Widget Script". It is worth of a name as it basically runs the script in the context of the parent and even uses the jQuery object in the parent so you don't have to seperately load jQuery in the <iframe>ed web page widget. See this line of code:
  var $ = window.parent.$;
No RepliesBe the first to reply