code: def on_column_resize(self, event):
      grid = self.grid
      col = event.GetRowOrCol()
      width = grid.GetColSize(col)
      table = grid.GetTable()
      self.column_size[col] = int(width * 1.1) / grid.CharWidth
      tm = wx.grid.GridTableMessage(
          self, wx.grid.GRIDTABLE_REQUEST_VIEW_GET_VALUES
      )
      grid.ProcessTableMessage(tm)
      grid.ForceRefresh()
  
imports: import wx
  import wx.grid
  from cellprofiler_core.preferences import get_error_color
  from cellprofiler_core.setting import Table
label_desc: Use image node_id 5 for calling the TableController obj's underlying member method code with example usage: obj.on_column_resize(event) without return types