DataGrid Templates

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: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
townsend
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 430
Joined: Sun Feb 13, 2011 8:43 pm

DataGrid Templates

Post by townsend » Tue Jun 21, 2011 8:02 pm

Okay-- I think I'm understanding this better. At first I thought having to create a button, then link it to the DataGrid, to gain access to it's behaviors, was very klugey. It's actually not how these templates are created.

It looks like they're created automatically, when a DataGrid object is placed on your Card.
Click below to see larger view of Application Browser, with templates that were automatically created.
115 app browser.JPG
I think-- the whole process of linking the button to a DataGrid, as discussed in Tutorial,
How Do I Override the Default Behavior For Rendering Data to a Cell?
Is just a trick to gain quick access to that Template, so you don't have to always go through the Application Browser. I think, ALL templates are always accessible through Application Browser.

Does this sound about right?

Post Reply