add function to Datafield to create filtered data
extend applyFilter function