{"id":35151,"date":"2023-12-09T00:57:24","date_gmt":"2023-12-08T23:57:24","guid":{"rendered":"https:\/\/help.qualiware.it\/qw-help\/?p=35151"},"modified":"2024-01-26T15:54:31","modified_gmt":"2024-01-26T14:54:31","slug":"griglia-e-vistadati-cambio-dello-stile-della-riga-selezionata-vers-javascript-nuovo-layout","status":"publish","type":"post","link":"https:\/\/help.qualiware.it\/qw-help\/griglia-e-vistadati-cambio-dello-stile-della-riga-selezionata-vers-javascript-nuovo-layout\/","title":{"rendered":"Griglia e VistaDati: cambio dello stile della riga selezionata (vers. javascript &#8211; nuovo layout)"},"content":{"rendered":"<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"js\">\/\/ Il seguente snippet deve essere inserito nell'EventoRenderClient e consente di applicare uno stile differente alla riga selezionata di una griglia. \r\n\/\/ N.B: utilizzabile solo se NuovoLayout=true\r\n\r\nvar s=$('&lt;style&gt;&lt;\/style&gt;').html('#&lt;DataView1&gt; .e-active {background-color:yellow !important}')\r\n$('#&lt;DataView1&gt;').append(s)\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\/\/ Il seguente snippet deve essere inserito nell&#8217;EventoRenderClient e consente di applicare uno stile differente alla riga selezionata di una griglia. \/\/ N.B: utilizzabile solo se NuovoLayout=true var s=$(&#8216;&lt;style&gt;&lt;\/style&gt;&#8217;).html(&#8216;#&lt;DataView1&gt; .e-active {background-color:yellow !important}&#8217;) $(&#8216;#&lt;DataView1&gt;&#8217;).append(s)<\/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":[88],"acf":[],"_links":{"self":[{"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/posts\/35151"}],"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=35151"}],"version-history":[{"count":2,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/posts\/35151\/revisions"}],"predecessor-version":[{"id":35658,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/posts\/35151\/revisions\/35658"}],"wp:attachment":[{"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/media?parent=35151"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/categories?post=35151"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/tags?post=35151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}