How to make table column clickable in Wicket

I am using AjaxFallbackDefaultDataTable to create a table.

For sortable columns, wicket is currently creating an ajax link under each column name to make it clickable.

But I want to make the full column header clickable. Is it possible?

+3
source share
1 answer

Add CSS to make a <a>block element in the column header

tr.headers th a {
    display:block   
}
+4
source

Source: https://habr.com/ru/post/1769798/


All Articles