@Override public boolean isCellEditable(int row,int col){
  if (isConnectedToDataSource) {
    if (col != FIELD_COLUMN_ID) {
      return true;
    }
 else {
      return false;
    }
  }
 else {
    return true;
  }
}

@ Override public boolean isCellEditable ( int row , int col ) { if ( isConnectedToDataSource ) { if ( col != FIELD_COLUMN_ID ) { return true ; } else { return false ; } } else { return true ; } }
checks if is cell editable .
