Package com.github.dandelion.datatables.core.extension.feature

Examples of com.github.dandelion.datatables.core.extension.feature.FilterPlaceholder


    // Filtering configuration object
    Map<String, Object> filteringConf = new HashMap<String, Object>();

    // Placeholder for filtering elements
    FilterPlaceholder filterPlaceholder = TableConfig.FEATURE_FILTER_PLACEHOLDER.valueFrom(table);
    if (filterPlaceholder != null) {
      filteringConf.put(DTConstants.DT_S_PLACEHOLDER, filterPlaceholder.getName());
    }

    // Filtering trigger
    String filterTrigger = TableConfig.FEATURE_FILTER_TRIGGER.valueFrom(table);
    if (StringUtils.isNotBlank(filterTrigger)) {
View Full Code Here


public class FeatureFilterPlaceholderProcessor extends AbstractConfigurationProcessor {

  @Override
  public void doProcess() {

    FilterPlaceholder placeholder = null;
    if (StringUtils.isNotBlank(stringifiedValue)) {
      try {
        placeholder = FilterPlaceholder.valueOf(stringifiedValue.toUpperCase());
      } catch (IllegalArgumentException e) {
        throw new ConfigurationProcessingException(stringifiedValue + " is not a valid value among "
View Full Code Here

TOP

Related Classes of com.github.dandelion.datatables.core.extension.feature.FilterPlaceholder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.