-
IliTableGadget row colors
Hi,
I,m using a IliTableGadget and want to change the background of different rows to different colours, but the only thing i could do was to change the whole table background cell. I write down my code.
IliTableGadget * _tab;
_tab->setCellForeground( getDisplay()->getColor("Green") );//This change the foreground of all cells.
What i want is to change only a row color.
Please could anyone help.
Thank you.
-
Hello paranad_g,
The distribution includes a dedicated sample to this effect.
Please take a look at ILVHOME/samples/dataccess/nodb/folio*
HTH,
Claude
-
folio example
Hi,
Yes you are right, i had already took a look to it, but is useless for my case.
The example makes the raw palette change automatically by using a symbol callback.
What i need is to change the row colour when it,s filled by the source coude program. I only know the coulor to be assigned when i,m just to fill the row.
Please any help.
Thank you.
-
Thank you
Hi,
You were right. The example was enough to develop what i wanted.
What confused me was that i did not get easily when the callback of the example MyGetCellPaletteCallBack was called.
Thank you very much.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules