Aug 06, 2013, 5:03 AM
[CLOSED] dynamic date filter not working
I have added dynamic filter to grid which is dynamically created as below:
But when i use the filter no record shows up. What am i missing.
Also how do i customize the filter to only show Months on the date picker
Thanks in advance
DateFilter df = new DateFilter();
df.DataIndex = "MONTH_YEAR";
df.DatePickerOptions.TodayText = "Now";
df.Format = "MMM-yy";
gf.Filters.Add(df);
I am binding the model field to store as : model.Fields.Add(new ModelField("MONTH_YEAR"));
the date format it displays as : Aug-13, May-13But when i use the filter no record shows up. What am i missing.
Also how do i customize the filter to only show Months on the date picker
Thanks in advance
Last edited by Daniil; Aug 15, 2013 at 10:35 AM.
Reason: [CLOSED]