Hi team,
I used "checkBoxSelection" in one of my table column.
My codes for this column:
{ title: "", dataIndx: "state", maxWidth: 30, minWidth: 30, align: "center", cls:'checkReadForReview',
cb: { header: true, all: false },
type: 'checkBoxSelection', resizable: false, sortable: false, editable: false
}
As the API said, when I set "header" as "true", the checkbox will display on the header without any title. And if I set it as "false", I can set title for the column.
But I want to let user choose the whole column so I set "true" for "header". And I try to use jquery to add a title dynamically.
Have a look with my codes:
$("td[pq-col-indx=126][pq-row-indx=0]").append('<div class="pq-td-div">Ready For Review<span class="pq-col-sort-icon"> </span></div>');
When these codes run, the title can add on the header, but the first column in my table have a problem. It looks like the title contents change the whole style for the table.(As the screenshot pic "FirstColumn").
The column will become normally after I click it("Normally" pic). And the title which I just add by js will disappear.
So do you have any suggestion to add a title when I want to keep "header:true" ?
Thank you!