public static void setFilterText(Widget widget, String filterText) { setFilterText(widget.getElement(), filterText); }
public static void setFilterText(Widget widget, String filterText) { setFilterText(widget.getElement(), filterText); }
public static void setFilterText(Widget widget, String filterText) { setFilterText(widget.getElement(), filterText); }
/** * {@link JQMFilterable} will use this text when searching through this widget. * <br><b>Detail description:</b> By default, the filter simply searches against * the contents of each list item. * If you want the filter to search against different content, add the data-filtertext * attribute to the item and populate it with one or many keywords and phrases that * should be used to match against. Note that if this attribute is added, * the contents of the list item are ignored. * <p> This attribute is useful for dealing with allowing for ticker symbols * and full company names to be searched, or for covering common spellings * and abbreviations for countries. */ public void setFilterText(String filterText) { JQMCommon.setFilterText(getDataFilterWidget(), filterText); }
/** * {@link JQMFilterable} will use this text when searching through this widget. * <br><b>Detail description:</b> By default, the filter simply searches against * the contents of each list item. * If you want the filter to search against different content, add the data-filtertext * attribute to the item and populate it with one or many keywords and phrases that * should be used to match against. Note that if this attribute is added, * the contents of the list item are ignored. * <p> This attribute is useful for dealing with allowing for ticker symbols * and full company names to be searched, or for covering common spellings * and abbreviations for countries. */ public void setFilterText(String filterText) { JQMCommon.setFilterText(getDataFilterWidget(), filterText); }
/** * {@link JQMFilterable} will use this text when searching through this widget. * <br><b>Detail description:</b> By default, the filter simply searches against * the contents of each list item. * If you want the filter to search against different content, add the data-filtertext * attribute to the item and populate it with one or many keywords and phrases that * should be used to match against. Note that if this attribute is added, * the contents of the list item are ignored. * <p> This attribute is useful for dealing with allowing for ticker symbols * and full company names to be searched, or for covering common spellings * and abbreviations for countries. */ public void setFilterText(String filterText) { JQMCommon.setFilterText(getDataFilterWidget(), filterText); }
private static void prepareOption(OptionElement opt, String value, String filterText, boolean placeholder, boolean selected, boolean disabled, DataIcon icon, String customIcon) { if (value == null) JQMCommon.setAttribute(opt, "value", null); if (filterText != null && !filterText.isEmpty()) { JQMCommon.setFilterText(opt, filterText); } if (placeholder) JQMCommon.setAttribute(opt, "data-placeholder", "true"); if (selected) JQMCommon.setAttribute(opt, "selected", "selected"); if (disabled) JQMCommon.setAttribute(opt, "disabled", "disabled"); if (icon != null) JQMCommon.setIcon(opt, icon); else if (customIcon != null) JQMCommon.setIcon(opt, customIcon); }
private static void prepareOption(OptionElement opt, String value, String filterText, boolean placeholder, boolean selected, boolean disabled, DataIcon icon, String customIcon) { if (value == null) JQMCommon.setAttribute(opt, "value", null); if (filterText != null && !filterText.isEmpty()) { JQMCommon.setFilterText(opt, filterText); } if (placeholder) JQMCommon.setAttribute(opt, "data-placeholder", "true"); if (selected) JQMCommon.setAttribute(opt, "selected", "selected"); if (disabled) JQMCommon.setAttribute(opt, "disabled", "disabled"); if (icon != null) JQMCommon.setIcon(opt, icon); else if (customIcon != null) JQMCommon.setIcon(opt, customIcon); }
private static void prepareOption(OptionElement opt, String value, String filterText, boolean placeholder, boolean selected, boolean disabled, DataIcon icon, String customIcon) { if (value == null) JQMCommon.setAttribute(opt, "value", null); if (filterText != null && !filterText.isEmpty()) { JQMCommon.setFilterText(opt, filterText); } if (placeholder) JQMCommon.setAttribute(opt, "data-placeholder", "true"); if (selected) JQMCommon.setAttribute(opt, "selected", "selected"); if (disabled) JQMCommon.setAttribute(opt, "disabled", "disabled"); if (icon != null) JQMCommon.setIcon(opt, icon); else if (customIcon != null) JQMCommon.setIcon(opt, customIcon); }