Datagrid : stack with a few examples and tricks

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
bangkok
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 937
Joined: Fri Aug 15, 2008 7:15 am

Datagrid : stack with a few examples and tricks

Post by bangkok »

Because I'm lazy with a poor memory :) , I put on a single stack a few datagrids with some tricks, than I can easily reuse.

It might help you.

-how to colorize a whole row, linked to a value in a specific cell

-drag and drop of lines between 2 datagrids (with automatic row creation and deletion)

-a simple method for a "search mode" within a cell, without updating the datagrid data

-a way to handle mousedown, and click on a cell, and display the content and the name of the column

-2 methods to save datagrid data into a text file

We could add much more : for instance objects (local menus, button etc) in rows, with row templates. If someone wants to participate....
Attachments
DG_EXAMPLES.zip
(13.19 KiB) Downloaded 651 times
townsend
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 430
Joined: Sun Feb 13, 2011 8:43 pm

Re: Datagrid : stack with a few examples and tricks

Post by townsend »

Thanks! Looks like some code I can use.
104 DG Examples v1.0.JPG
104 DG Examples v1.0.JPG (130.83 KiB) Viewed 8588 times
JosepM
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 344
Joined: Tue Jul 20, 2010 12:40 pm

Re: Datagrid : stack with a few examples and tricks

Post by JosepM »

Thanks!
peaslee
Posts: 20
Joined: Wed Feb 16, 2011 8:36 pm

Re: Datagrid : stack with a few examples and tricks

Post by peaslee »

Nice job. Very helpful for us new kids.

Bruce
Bruce Peaslee
Windows 7 Home Premium (Service Pack 1)
ACPI x-64 based PC 9GB RAM
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Datagrid : stack with a few examples and tricks

Post by Klaus »

And also for erm... "matured" kids :D
Thanks!
BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

Re: Datagrid : stack with a few examples and tricks

Post by BarrySumpter »

Very cool dude!

Nice effort.

Many thanks!
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.
jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2734
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: Datagrid : stack with a few examples and tricks

Post by jmburnod »

Klaus said
And also for erm... "matured" kids :D
I confirm also for "old kids"

Thank
https://alternatic.ch
Post Reply