docs: public boolean remove()
      {
          boolean bSuccess = false;
          try   {
              Record recGrid = this.getMainRecord();
              if (recGrid.getEditMode() == Constants.EDIT_CURRENT)
                  recGrid.edit();
              if (recGrid.getEditMode() == Constants.EDIT_IN_PROGRESS)
                  recGrid.remove();
              bSuccess = true;
          } catch (DBException ex)  {
              ex.printStackTrace();
              bSuccess = false;
          }
          return bSuccess;
      }