updateTableHeaderWidth method
do not remove
Implementation
// void activeInactiveTemplate() {
// selectedTemplate.value = !selectedTemplate.value;
// createOrUpdatePrint(printDesign: generateJsonString(), id: id);
// }
void updateTableHeaderWidth(String header, double width) {
tableVisibleHeaders
.firstWhereOrNull((value) => value['name'] == header)?['width'] = width;
tableVisibleHeaders.refresh(); // Ensure UI updates
}