0

After changing class, header, label, or attribute.

Each user must go to "Personalize grid settings" and move this column to visible. I want to fix it automatically.

Mike S
  • 192
  • 3
  • 9

1 Answers1

0

Create a migration

$this->execute("UPDATE dynagrid SET data = REPLACE(data, '6d674618', 'cdb49d00') WHERE id LIKE 'your-grid-id%'");

cdb49d00 - CRC32 hash key for new column label. Online service to encode it.

DynaGrid::getColumnKey() - here you can see how Column Key is generated. attribute/label/header/class

Mike S
  • 192
  • 3
  • 9