When deriving and creating a custom date column, what is required in order to maintain sorting and filtering? Here is the original question, posted under a different question already answered:
"When you do this, what is required in order to maintain sorting and filtering capabilities for dateTime?
If you derive a column from DateColumn and and Provider from DateColumnContentProvider and use even a standard datepicker binding in ResolveDisplayElement and return the datePicker in ResolveEditorControl, the sorting seems to be broken and the filtering for specialized filters for things like contains, and not equals appears to be broken as well.
What is the approach one is supposed to take for implementing this custom dateColumn so that things like sorting and filtering stay intact?"
original reference:http://community.infragistics.com/forums/p/56173/347406.aspx#347406
Thanks,
__________________________________________
I have noticed in an upcoming release a new date time column:
http://blogs.infragistics.com/blogs/atanas_dyulgerov/archive/2012/04/25/new-datetimecolumn-for-the-infragistics-xamgrid-in-2012-1.aspx
And hopefully this will solve issues regarding many customizations currently needed to achieve similar features that the new column type will offer.
Hello donschaberg,
I have been looking through your questions and I can suggest you implement a custom sort and filtering which can help you perform a custom implementation that will suit your scenario. For additional reference please check:
http://help.infragistics.com/NetAdvantage/Silverlight/2011.2/CLR4.0/?page=SL_xamGrid_Custom_Sort.html
http://help.infragistics.com/NetAdvantage/Silverlight/2011.2/CLR4.0/?page=xamGrid_Create_a_Custom_Filter.html
Furthermore our new version 11.2 should be available until the end of the next week, and will include the build in DateTimeColumn, so I can recommend you try it as soon as it ships.
Please let me know if you have any additional questions on this matter.
Thanks Elena.
However when I derive from something like a date column and provider I would expect my derived object to retain the functionality of things like sort and filter. If this doesnt work properly it would be a bug. If my underlying datatype is date, then it shouldnt matter what my control type is when sorting or filtering. Is there anyway to verify if this is working properly? I appreciate the direction for implementing a custom solution but the reason to derive is to re-use existing functionality, not recreate it.
11.2 is already out, is there a new version of 11.2 scheduled to be released?
Thanks