-
In my application, I update some of my table cells based on some condition. (color changes, etc...) How can I do it? How can I reset all cell style to default when reset the data (records) of the table? Thanks, |
Beta Was this translation helpful? Give feedback.
Answered by
KiddoV
May 3, 2024
Replies: 1 comment
-
Just realized I can do something like this: //Reset all custom cell styles applied
for (let row = 0; row < table.rowCount; row++) {
for (let col = 0; col < table.colCount; col++) {
const customStyleId = table.customCellStylePlugin.getCustomCellStyleId(col, row);
if (customStyleId) {
xdFwTbIns.arrangeCustomCellStyle({col: col, row: row}, "");
}
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
KiddoV
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just realized I can do something like this: