I am using pqgrid v2.0.4. In my toolbar, I want to add a checkbox. When it is checked, it filters the result. When it is unchecked, it removes the filter. It works fine. However, I would also add some text beside it, and I tried something like this:
{
type: "checkbox",
label: "Show Active Only",
icon: " ui-icon-search",
listeners: [
{
"change": function() {
console.log($(this).is(':checked'));
}
}
]
}
But this does not work. Would any one know how to add the label / text beside this checkbox?
Thanks,
Tim