how to add filter to nattable in an eclipse plugin? -
configregistry.registerconfigattribute(editconfigattributes.cell_editor, new comboboxcelleditor(arrays.aslist("200536", "200538")), displaymode.normal, filterrowdatalayer.filter_row_column_label_prefix + 2); // configregistry.registerconfigattribute(editconfigattributes.cell_editor, new comboboxcelleditor(arrays.aslist("07")), displaymode.normal, filterrowdatalayer.filter_row_column_label_prefix + 3); final style rowstyle = new style(); rowstyle.setattributevalue(cellstyleattributes.background_color, guihelper .getcolor(197, 212, 231)); configregistry.registerconfigattribute(cellconfigattributes.cell_style, rowstyle, displaymode.normal, gridregion.filter_row);
i tried add filters in nattable combobox didn't appear yet ..
you need create layer composition contains filter row. have @ our examples application see how done in various scenarios.
Comments
Post a Comment