{"id":35120,"date":"2023-12-08T21:16:28","date_gmt":"2023-12-08T20:16:28","guid":{"rendered":"https:\/\/help.qualiware.it\/qw-help\/?p=35120"},"modified":"2023-12-08T23:57:11","modified_gmt":"2023-12-08T22:57:11","slug":"griglia-e-vistadati-applicazione-di-uno-stile-alla-testata-delle-singole-colonne-nuovo-layout","status":"publish","type":"post","link":"https:\/\/help.qualiware.it\/qw-help\/griglia-e-vistadati-applicazione-di-uno-stile-alla-testata-delle-singole-colonne-nuovo-layout\/","title":{"rendered":"Griglia e VistaDati: applicazione di uno stile alla testata delle singole colonne (nuovo layout)"},"content":{"rendered":"<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"visualbasic\">' Il seguente snippet deve essere inserito nell'EventoRender e consente di applicare uno stile differente all'intestazione di una specifica colonna, o di tutte le colonne\r\n' N.B. si pu\u00f2 utilizzare solo se NuovoLayout=true\r\n\r\nform.FindControl(\"DataView1\").SetHeaderStyle(\"CODICE\",\"background-color: blue !important;color: white !important\")\r\n'form.FindControl(\"DataView1\").SetHeaderStyle(\"background-color: blue !important;color: white !important\") ' Se si desidera attribuire a tutte le colonne lo stesso stile, usare questo metodo\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>&#8216; Il seguente snippet deve essere inserito nell&#8217;EventoRender e consente di applicare uno stile differente all&#8217;intestazione di una specifica colonna, o di tutte le colonne &#8216; N.B. si pu\u00f2 utilizzare solo se NuovoLayout=true form.FindControl(&#8220;DataView1&#8221;).SetHeaderStyle(&#8220;CODICE&#8221;,&#8221;background-color: blue !important;color: white !important&#8221;) &#8216;form.FindControl(&#8220;DataView1&#8221;).SetHeaderStyle(&#8220;background-color: blue !important;color: white !important&#8221;) &#8216; Se si desidera attribuire a tutte le colonne lo stesso stile,&hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"ngg_post_thumbnail":0,"footnotes":""},"categories":[65],"tags":[71],"acf":[],"_links":{"self":[{"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/posts\/35120"}],"collection":[{"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/comments?post=35120"}],"version-history":[{"count":4,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/posts\/35120\/revisions"}],"predecessor-version":[{"id":35130,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/posts\/35120\/revisions\/35130"}],"wp:attachment":[{"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/media?parent=35120"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/categories?post=35120"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/tags?post=35120"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}