Change first cell of each row in table

I have a table that lists values from an entity, and I can use column generation to change the generated column to be whatever I like (label, image, etc). However what I need is for each cell to be different.

For example, by default the table displays; ipAddress, screenName, clientName

What I would like, is to be able to intercept the ipAddress cell and change it to something else. If I use the generated column method, the whole column changes to the same thing.

Another one fixed.

    @Install(to = "webcamsesTable.ipAddress", subject = "columnGenerator")
    private Component webcamTableipAddressColumnGenerator(Webcams webcams) {
        Label label = uiComponents.create(Label.class);
        if (webcams.getIpAddress().toString().equals("1.1.1.1")) {
            System.out.println(webcams.getIpAddress());
            label.setValue("Only replacing this");
        } else {
            System.out.println(webcams.getIpAddress());
            label.setValue(webcams.getIpAddress());
        }
        return label;
    }
1 Like