PDA

View Full Version : DateField for showCategoryComboBox!!!



t.sriram
24 Nov 2009, 1:48 AM
Hi,

I want to use a DateField in place of showCategoryComboBox, since the categorized column's data is Date/Time value.

How can i do this?

I'm using Ext.nd 2.0.1.

Thanks.

t.sriram
8 Dec 2009, 12:43 AM
I've found a workaround for this. Just have a DateField which will be rendered before the UIView is rendered. And in UIView's config options follow this,
showSingleCategoryComboBox : false,
showSingleCategory : document.getElementById('DateFieldId'),

You've to do some refreshing stuff when the date is changed.

Hope this helps.