Smrf.NodeXL.ExcelTemplate.SelectionCoordinator.SelectGroupTableRows C# (CSharp) Method

SelectGroupTableRows() protected method

protected SelectGroupTableRows ( ) : void
return void
    SelectGroupTableRows()
    {
        AssertValid();

        SheetHelper oSheetHelper = m_oGroupWorksheet.SheetHelper;

        if (!oSheetHelper.TableExists)
        {
            return;
        }

        m_bIgnoreSelectionEvents = true;

        try
        {
            oSheetHelper.SelectTableRowsByColumnValues<String>(
                GroupTableColumnNames.Name,
                m_oTaskPane.GetSelectedCollapsedGroupNames(),
                ExcelUtil.TryGetNonEmptyStringFromCell
                );
        }
        catch (Exception oException)
        {
            ErrorUtil.OnException(oException);
        }
        finally
        {
            m_bIgnoreSelectionEvents = false;
        }
    }