In the datagrid 2 widget settings, there is the filter tab, in order for the datetime filter widget to work you need to have selected atleast 1 attribute there that is of the type datetime otherwise the widget doesnt have any attributes to use to filter on.