DataGrid custom behaviors

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
snm
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 253
Joined: Fri Dec 09, 2011 11:17 am

DataGrid custom behaviors

Post by snm » Sun Nov 17, 2013 6:27 pm

I have DataGrid table with 7 columns, which should have 1 of 3 different behaviors ( for dates, unicode text and for floating point numbers). I know how to make "default column behavior", and how to make separate column behaviors for each column.

The question I have is if and how to make 3 "default custom behaviors" as:
- default date behaviors
- default floating point behaviors
- default unicodeText behaviors

and set particular columns as below:

2 columns with dates to "default date behaviors",
2 columns with floating point numbers to "default floating point behaviors"
3 columns with unicode text to "default unicodeText behaviors"

Thanks for any help,
Marek

Post Reply