Good morning,
I'm building a grid that could potentially contains 96 columns (Boolean). I preferred to add a list instead of 96 fields, but how do I access the element n from ValueProvider?

Thank you

public class MyClass implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer id;
    private String name;
    private String surname;
    private List<Boolean> list;

public interface IMyClassPropertyAccess extends PropertyAccess<MyClass> {
    ModelKeyProvider<MyClass> key();
    ValueProvider<MyClass, String> name();
    ValueProvider<MyClass, String> surname();
    // can i take an element from list?
    ValueProvider<MyClass, Boolean> element();