So taking that page as an example, how would I then apply filtering to those columns?
The first column is defined as:
{ id:“2008_1”, header:[
{ content:“columnGroup”, closed:true, batch:“2008”,
groupText:“2008”, colspan:12, width: 120},
“January”
]},
but to apply filtering, I need to state content:“selectFilter”.
So is there any way of combining columnGroup and selectFilter to get both?
In this situation you can add an extra header line to the datatable that will house a selectFilter.
{ id:"2008_1", header:[
{ content:"columnGroup", closed:true, batch:"2008", //1st line
groupText:"2008", colspan:12, width: 120},
"January", //2nd line with a month name
{content:"selectFilter"} //3rd line with select filter
]},