Forums

Find answers, ask questions, and connect with our
community all around the world.

Home Forum Omnis forum Enterable Grid coloring cell

  • Enterable Grid coloring cell

    Posted by Coralie on April 1, 2019 at 11:36 am

    Hi everyone,
    I’m using an Enterable Grid and I need to add some securities regarding entries.
    What I’m trying to achieve is that if one entry doesn’t match what was expected, then the cell turns to red (either background or text).
    I’ve tried several things such as:
    Calculate MyList.MyCol as style(kEscColor;kRed)
    Or
    Do MyList.MyCol.$color.$assign(kRed)
    I get the value of MyCol but cannot get the appropriate color.
    If anyone can help me there.
    Thanks in advance.

    Coralie replied 3 years, 4 months ago 1 Member · 1 Reply
  • 1 Reply
  • Coralie

    Member
    April 2, 2019 at 8:53 am

    Hi again,
    Never mind the question, I did it 🙂 !
    For those who would end up on this thread, searching for a solution, I managed to do it, doing this:
    Do $cinst.$objs.EnterableGrid.$selectedlinetextcolor.$assign(rgb(255;0;0))
    Regards,
    Coralie.

Log in to reply.