Page 1 of 1

Datagrid : stack with a few examples and tricks

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

Re: Datagrid : stack with a few examples and tricks

Posted: Wed Jun 01, 2011 4:21 pm
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 7285 times

Re: Datagrid : stack with a few examples and tricks

Posted: Thu Jun 02, 2011 12:05 am
by JosepM
Thanks!

Re: Datagrid : stack with a few examples and tricks

Posted: Tue Jul 05, 2011 10:08 pm
by peaslee
Nice job. Very helpful for us new kids.

Bruce

Re: Datagrid : stack with a few examples and tricks

Posted: Tue Jul 05, 2011 10:13 pm
by Klaus
And also for erm... "matured" kids :D
Thanks!

Re: Datagrid : stack with a few examples and tricks

Posted: Fri Jul 08, 2011 11:07 pm
by BarrySumpter
Very cool dude!

Nice effort.

Many thanks!

Re: Datagrid : stack with a few examples and tricks

Posted: Sat Jul 09, 2011 9:17 am
by jmburnod
Klaus said
And also for erm... "matured" kids :D
I confirm also for "old kids"

Thank