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 » Wed Jun 01, 2011 3:18 pm

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 542 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 » Wed Jun 01, 2011 4:21 pm

Thanks! Looks like some code I can use.
104 DG Examples v1.0.JPG
104 DG Examples v1.0.JPG (130.83 KiB) Viewed 7280 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 » Thu Jun 02, 2011 12:05 am

Thanks!

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

Re: Datagrid : stack with a few examples and tricks

Post by peaslee » Tue Jul 05, 2011 10:08 pm

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: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Datagrid : stack with a few examples and tricks

Post by Klaus » Tue Jul 05, 2011 10:13 pm

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 » Fri Jul 08, 2011 11:07 pm

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: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: Datagrid : stack with a few examples and tricks

Post by jmburnod » Sat Jul 09, 2011 9:17 am

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

Thank
https://alternatic.ch

Post Reply