Apr 18, 2012, 6:46 PM
[CLOSED] Ext.net.EventModel: There are any way to add a property in this class?
Hi!
I load in CalendarPanel my schedules and my tasks too... The records are storage in diferent tables in my DB.
In my webservice, I load the schedules and task in a Ext.net.EventModelCollection, with CalendarID differents for each type of record (task or schedule).
It´s works fine...
But, the tasks have a property called 'Priority' with values between 'Urgent' and 'low priority'.
I wish renderer in event slot a icon to this priority... I know when I do this... but I don´t know a way to create a new property in EventModel (without change the source code).
Thanks for any tip.
I load in CalendarPanel my schedules and my tasks too... The records are storage in diferent tables in my DB.
In my webservice, I load the schedules and task in a Ext.net.EventModelCollection, with CalendarID differents for each type of record (task or schedule).
It´s works fine...
But, the tasks have a property called 'Priority' with values between 'Urgent' and 'low priority'.
I wish renderer in event slot a icon to this priority... I know when I do this... but I don´t know a way to create a new property in EventModel (without change the source code).
Thanks for any tip.
Last edited by Daniil; Apr 19, 2012 at 4:41 PM.
Reason: [CLOSED]