public void setFilterValue(JSONObject cfg, String filterValue) {
        String filterEvent = cfg.has("filterEvent") ? cfg.getString("filterEvent") : "keyup";
        int filterDelay = cfg.has("filterDelay") ? cfg.getInt("filterDelay") : 0;
        setFilterValue(filterValue, filterEvent, filterDelay);
    }
Filter using the Widget configuration "filterDelay" and "filterEvent" values.

@param cfg the widget configuration JSON object
@param filterValue the value to set the filter
primefaces-selenium/primefaces-selenium-components/src/main/java/org/primefaces/selenium/component/model/datatable/HeaderCell.java