![]() |
![]() An Information Portal to Biological Macromolecular Structures |
|
PDB Home |
Contact Us ![]() |
![]() |
Software Tools Home | Dictionary Home | PDBML Home |
![]() |
#include "ISTable.h"
int ISTable::ClearRow(int rowIndex);
#include "ISTable.h"
...
ISTable * pTable = new ISTable();
... // do table maniputation
// clear the first 1/2 rows, but keep them as placeholders
for (int i = 0; i < (pTable->GetNumRows() / 2); i++) {
pTable->ClearRow(i);
}
ClearRow erases all of the data in a particular row. It does not remove the row from the table; rather, it keeps placeholders. Thus, the number of columns and rows will not change as a result of this operation.
rowIndex | The index of the row to be cleared. |
A negative value indicates an error or warning.
See also: | DeleteRow |
---|---|
RemoveRow | |
CompressTable |