Changing the defauly behaviour of FillInData
Posted: Fri Nov 27, 2009 12:59 am
I'm using various custom properties in conjunction with some formatting code to handle the translation of various data types between the screen and my sqlite database. For example, a custom property named isDate with a value of true defines that a field is a date and I Have code that formats the date correctly when retrieveing it form the database for display on a card and also when storing it back in the database from a card.
I would like to use these same routines in FillInData but I don't want to go in and create a custom behaviour for every column in every datagrid where its required. I guess I'm looking for a way to change the default code in FillInData to call my formatting routines so that every column in every datagrid will have the formatting code in there.
Is that possible?
Thanks,
Pete
I would like to use these same routines in FillInData but I don't want to go in and create a custom behaviour for every column in every datagrid where its required. I guess I'm looking for a way to change the default code in FillInData to call my formatting routines so that every column in every datagrid will have the formatting code in there.
Is that possible?
Thanks,
Pete