ADF: ADF Table clear Filter
public void resetFieldTableFilter()
{
try {
FilterableQueryDescriptor queryDescriptor =
(FilterableQueryDescriptor)this.getFieldTable().getFilterModel();
if (queryDescriptor != null &&
queryDescriptor.getFilterCriteria() != null) {
queryDescriptor.getFilterCriteria().clear();
this.getFieldTable().queueEvent(new QueryEvent(this.getFieldTable(),
queryDescriptor));
}
} catch (Exception e) {
if (AppsLogger.isEnabled(AppsLogger.SEVERE)) {
AppsLogger.write(this,
"Exception in resetFieldTableFilter :" +
e.getMessage() + " ", AppsLogger.SEVERE);
}
}
}
No comments:
Post a Comment