I've implemented PDF export functionality with a Grid. I'm trying to set the column width (auto) for one of columns of the report that gets generated because the some values in the column of the report are being truncated, or not seen in the PDF. I've tried
/* doesn't work */
.k-pdf-export colgroup > col {
width: auto !important;
}
/* doesn't work */
.k-pdf-export colgroup > col:nth-child(2) {
word-wrap: break-word;
}
/* makes the column as large as the report, completely useless */
.k-pdf-export colgroup > col:nth-child(2) {
width: 100% !important;
}
/* this works! But I don't want to hard code in a value */
.k-pdf-export colgroup > col:nth-child(2) {
width: 200px !important;
}