Datagrid table formatting question

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller

Post Reply
WaltBrown
Posts: 466
Joined: Mon May 11, 2009 9:12 pm
Location: NE USA

Datagrid table formatting question

Post by WaltBrown » Mon Dec 22, 2014 6:03 am

Hi!
I have a basic table datagrid as an index, or table of contents into a stack (snapshot below). Each line represents one ISO 639 language code (ie "be" represents Belarusian, for example). Some of the lines have corresponding cards in the stack. If a card exists I want the textStyle of the corresponding row in the datagrid to be bold. For example, the card for English is named "language_en", so it's entry in the datagrid should be bold, but I don't have a Belarusian card yet, so that row should be plain text.

I have searched here and the various manuals and can't find the answer. I have seen some related discussions here that seem to have to address each individual cell as a field, but that seems overly complex to set just a single row. Is there a way to easily set the textStyle of a table row in a datagrid, or do I have to drill into the datagrid and individually address each cell?

Thanks, Walt
screenShot.jpg
Walt Brown
Omnis traductor traditor

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”