0

我想在 Janus GridEX 中隐藏选定的数据行。这是当前删除所选行的方法,我想将其更改为隐藏:

private void vButtonMoveLeft_Click(object sender, EventArgs e)
{
    dgBaseTasks.UpdateData();
    dgTemplateTasks.UpdateData();

    // Grab all selected data rows:
    var selectedRows = dgTemplateTasks.GetSelectedDataRows<AssessmentsTemplateItemRow>();
    foreach (var selectedRow in selectedRows)
    {
        selectedRow.ObjectStatus = "deleted";
        // Delete the selected row:
        dgTemplateTasks.GetRow(selectedRow).Delete();
    }

}
4

0 回答 0