private void spdDataOperate()
{
string yosoCd = ConvertHandler.ConvertObjectToStr(jikg016YosoCd);
if (string.IsNullOrWhiteSpace(yosoCd)
||
yosoDataList == null)
return;
int targetRowIndex = getRowIndex(yosoCd);
string targetOyaCd = this.espSpread1_Sheet1.Cells[targetRowIndex, oyaYosoCdIndex].Text;
int oyaRowIndex = getRowIndex(targetOyaCd);
if ("+".Equals(espSpread1_Sheet1.RowHeader.Cells[oyaRowIndex, 0].Text))
{
unfold(oyaRowIndex);
}
espSpread1.ActiveSheet.ActiveRowIndex = targetRowIndex;
espSpread1.SetViewportTopRow(0, targetRowIndex);
}
|