Example #1
0
 /**
  * Remove a row at position pos from the table
  * @param pos	position the Row in the Table
  */
 public bool RemoveRow(int pos)
 {
     if (pos >= 0 && pos < tableRows.Count)
     {
         ctTbl.RemoveTr(pos);
         tableRows.RemoveAt(pos);
         return(true);
     }
     return(false);
 }
Example #2
0
 /**
  * Remove a row at position pos from the table
  * @param pos	position the Row in the Table
  */
 public bool RemoveRow(int pos)
 {
     if (pos >= 0 && pos < tableRows.Count)
     {
         if (ctTbl.SizeOfTrArray() > 0)
         {
             ctTbl.RemoveTr(pos);
         }
         tableRows.RemoveAt(pos);
         return(true);
     }
     return(false);
 }