Datagrids are great and powerful. Like Oz.
But I cannot get some to respond to commands that others do without issue. I have several datagrids in one stack, and a single DG in another. If, in the stack with one DG:
set the dgProp["hilite color"] of grp "queue1 to "red"
and then:
set the dghilitedLines of grp "queue1" to 1,
the first line in that DG turns red. Terrific.
But if I try the exact same commands to a similarly named DG in the other stack, the correct line indeed hilites, but in a dull grey. No red at all.
What am I doing wrong? It has to be some property that is getting in the way, or one not properly set. There are only about a milllion of them.
Thanks.
Craig Newman
Datagrid color woes
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Datagrid color woes
Check if the grey hilited line table is selected (focused). The color of line hilite is changing to another color if you unfocus the grid.
Marek
Marek
Re: Datagrid color woes
Marek.
That was it. Thank you. I have to set the dgFocus under script control every time I want to hilite a row with a color.
I thought that since I could set the row hilite, though it was dimmed (yet another property), the DG must have had focus.
Craig Newman
That was it. Thank you. I have to set the dgFocus under script control every time I want to hilite a row with a color.
I thought that since I could set the row hilite, though it was dimmed (yet another property), the DG must have had focus.
Craig Newman
Re: Datagrid color woes
Craig,
Pleasure on my side I could help this time.
Marek
Pleasure on my side I could help this time.
Marek