Skip to content

Where's the Documentation at? #114

Open

Description

@AlphaJuliettOmega

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} ?

thanks for this slick addon

Activity

  1. AlphaJuliettOmega commented on Jul 20, 2016

    @AlphaJuliettOmega
    Author

    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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions