Back to Four Js Website
Four Js Customer Forum
Subscribe for automatic updates:
RSS
Sign in for full access
|
Help
Four Js Development Tools Forum
>
Discussions by product
>
Genero BDL
>
Change dynamically highlightCurrentRow?
Most recent posts
Pages: [
1
]
« previous
next »
Reply
|
Print
Author
Topic: Change dynamically highlightCurrentRow? (Read 864 times)
Benjamin G.
Posts: 130
Change dynamically highlightCurrentRow?
«
on:
August 20, 2024, 12:23:04 pm »
Hello,
I'm looking for an idea to dynamically modify the highlightCurrentRow style.
I have a screen with three tables with a highlightCurrentRow=yes style, but I'd like it to apply only to the “active” table dynamically ...
Any ideas?
Thanks
Reuben B.
Posts: 1116
Re: Change dynamically highlightCurrentRow?
«
Reply #1 on:
August 21, 2024, 03:13:52 am »
Did you look at pseudo selectors
https://4js.com/online_documentation/fjs-fgl-manual-html/#fgl-topics/c_fgl_presentation_styles_006.html
Code
<Style
name
=
"Table:inactive"
>
<StyleAttribute
name
=
"highlightCurrentRow"
value
=
"no"
/>
</Style
>
Reuben
Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of
https://4js.com/ask-reuben
Contributor to
https://github.com/FourjsGenero
Benjamin G.
Posts: 130
Re: Change dynamically highlightCurrentRow?
«
Reply #2 on:
August 21, 2024, 09:14:46 am »
Hi,
i've tried with Table:inactive and Table:focus but does'nt seems to work ...
if i use pseudo selector "Table:display:focus" for textColor it doesn't work but ":display:focus" for textColor works.
i've also tried ":display:focus" for highlightCurrentRow="yes" but doesn't work
for info tests with :
fglrun 4.01.03 rev-3effeb69 and GBC Version 4.01.22 Build 202403061849-d202403071621
i haven't tested with 5.00 ...
Benjamin G.
Posts: 130
Re: Change dynamically highlightCurrentRow?
«
Reply #3 on:
August 21, 2024, 09:24:09 am »
Hi,
using syntax
<Style name="Table:focus">
<StyleAttribute name="highlightCurrentRow" value="yes" />
</Style>
doesn't work
but specifying the style attribute of the the Table
<Style name="Table.tlamrg_2:focus">
<StyleAttribute name="highlightCurrentRow" value="yes" />
</Style>
works
Thanks anyway for the tip
but
Pages: [
1
]
Reply
|
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Discussion
=> Ask Reuben
=> WWDC21
-----------------------------
Discussions by product
-----------------------------
=> Products announcements
=> Genero BDL
=> GWS
=> GAS and GBC
=> GDC
=> Genero Mobile for Android or iOS
=> Genero Studio
=> Reporting tools (GRW, GRE)
-----------------------------
Jobs
-----------------------------
=> Jobs
Powered by SMF 1.1.21
|
SMF © 2015, Simple Machines
Loading...