fixed activation and inactivation of tablecolumns and tablecells