I am using Angular UI grid and I have a date column in which I need to have a filter that filters between start and end date without any date picker
Looking at that example, I tried adding type:'date' to the column definition, however the grid still doesn't filter out rows before the date typed into the 'from...' filter box and after the date typed into the 'to...' filter box.
Anything that I am missing something ?
{ field: 'mixedDate',
type: 'date',
width: '15%',
cellFilter: 'date:"mediumDate"',
filters:[
{
condition: uiGridConstants.filter.GREATER_THAN,
placeholder: 'greater than'
},
{
condition: uiGridConstants.filter.LESS_THAN,
placeholder: 'less than'
}]}
I'm looking for functionality like the Age column here: http://ui-grid.info/docs/#/tutorial/103_filtering except with dates instead of numbers.