Skip to content

sorting on columns dynamicly created from lists #23

@wilsib

Description

@wilsib

Hello

I'm creating a table by using lists of maps (as returned by jdbcTemplate) and deriving the table layout programmatically from the returned resultset.

Now I want to make the table sortable by using this example from the readme:
<th><a class="sorted" sd:pagination-sort="username" >Username</a></th>
This works if I'm using static column headers (like "username" in the example).

But it does not work like this:
`
myColumn

` How could I use these dynamic column header values? Currently I'm using Thymeleaf 2 with Spring Boot 1.5.2.RELEASE

This would be really helpful.

Thx a lot in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions