Hello, Yes, I saw that it worked perfectly on the TDJ. And as you say, it seems to create the style dynamically. In the gif that I shared in the previous post, you can see “alternateRowColor - 100182…. -636 "
What do you mean to work offline? I have my project published in my local IIS, am I online? Forgive my ignorance ... do I add the directive --allow-file-access-from-files to "additionalCompilerOptions" of the pom? Thx. Hiedra De: Carlos Rovira <[email protected]> Enviado el: domingo, 4 de octubre de 2020 20:53 Para: [email protected] Asunto: Re: ListAlternateRowColor bead One thing. That class (that should be temporal until we get fixed some compiler problems with some CSS rules) uses dynamic selectors and getClassStyle with needs some special configuration to launch chrome when working offline. Could be that the problem? If you see TDJ online it works right: https://royale.apache.org/tourdejewel/#!list_panel see: /** * Get an Object with all styles in a CSS className. * classname must match exactly the selector used in the CSS * * Note that due to CORS restrictions im Chrome, if you're working offline you need to * use: chrome --allow-file-access-from-files, or other browser * * @royalesuppressexport */ COMPILE::JS public function getClassStyle(className:String):Object El dom., 4 oct. 2020 a las 20:49, Carlos Rovira (<[email protected]<mailto:[email protected]>>) escribió: Sorry, the link you provide require access. Better use a site to share images like http://imgur.com/ El dom., 4 oct. 2020 a las 19:07, Maria Jose Esteve (<[email protected]<mailto:[email protected]>>) escribió: Hello, I have started using the "ListAlternateRowColor" bead in my Jewel List controls but the background-color does not change for the selected item or for the highlighted item, over. The font color does change but the background-color does not. I have looked at the TDJ and I see that it does work there but I have not found "the reason". I don't have any custom styles, neither with the tag "style" nor with "className". We can see the example in the ECharts project but I include a gif to show the behavior. [1] Any ideas? [1] https://drive.google.com/file/d/16F4jNBhJf1xu9BsX9uc_Kj36jYX0bitE/view?usp=sharing Thx. Hiedra. -- Carlos Rovira http://about.me/carlosrovira -- Carlos Rovira http://about.me/carlosrovira
