You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any wiki or API documentation?
I want to create some custom filters for Label columns and Jpa entity Columns,
I wouldn't mind helping build this wiki.
for starters;
what are these two functions for?
public Container.Filter generateFilter(Object propertyId, Field<?> originatingField) { }
public AbstractField<?> getCustomFilterComponent(Object propertyId) { }
and this function: public Filter generateFilter(Object propertyId, Object value) { }
can i use this one to filter my objects how i want?
is propertyId always just the name of the column or an object containing other information?
The filteringTable works really well with Timestamps but if i wanted to add support for Time filtering,
would i do it in this function? public String getDateFormatPattern(Object propertyId) { }
what is the syntax for makiing a DateFormatPattern?
How would I add a Dropdown with options to filter my filterTable.addGeneratedColumn("state", new CustomTable.ColumnGenerator() {creates a label} ?
reading up on this issue #79
made me realize i'll have to add a GeneratedProperty for my jpa parts so i'll look into that some more but after I add a custom property, the problem is coding in the right place for the filtering to happen ❔
to add the correct data to my container I will use
deviceContainer.getContainerProperty().setValue(custom prop);
if i set the prop as an int from 0-6
how do i filter that and offer a dropdown with string labels for the 0-6 ints?
Activity
AlphaJuliettOmega commentedon Jul 20, 2016
reading up on this issue #79
made me realize i'll have to add a GeneratedProperty for my jpa parts so i'll look into that some more but after I add a custom property, the problem is coding in the right place for the filtering to happen ❔
to add the correct data to my container I will use
deviceContainer.getContainerProperty().setValue(custom prop);
if i set the prop as an int from 0-6
how do i filter that and offer a dropdown with string labels for the 0-6 ints?