BCGSoft > Products > Product feature tour

Product feature tour

Context | First | Prev | Next | Last
Fully implemented BCGControlBar Pro (MFC)
Fully implemented BCGSuite (MFC)
Fully implemented BCGControlBar (Microsoft .NET)

General Grid Features

The Grid control supports the most of standard grid features.

  • Unlimited number of items in a row
  • Sorting by a single column
  • Sorting by multiple columns
  • Hide/Show columns
    • Integrated Field Chooser
    • Drag & drop columns
  • In-place cell editing
  • Single and multiple row selection
  • Single and multiple item (grid cell) selection
  • Copy data to clipboard
  • Cells Drag and Drop support
  • Keyboard navigation
  • In-place tooltips
  • Column resizing
  • Row resizing - variable row height (for .NET)
  • Row headers with or without row numbers.
  • Read-only mode
  • Printing
  • Easy integration with Document / View architecture (MFC).
  • Authentic Excel look and feel.
  • Automatically generated rows and columns (for .NET)
  • Export to HTML and RTF
  • Cell borders - thick and thin borders with different line styles (for .NET)
  • Text over floating - text is drawn over adjoining cells if they are empty (for .NET)
  • Text wrapping and trimming.
  • Table style formatting
  • Find dialog
  • Watermark image support
Sample code:
CBCGPGridCtrl m_wndGrid;

// Create grid control:
m_wndGrid.Create (WS_CHILD | WS_VISIBLE, rect, this, ID_GRID);

// Add columns:
m_wndGrid.InsertColumn (0, _T("First Column"), 80 /* Width */);
m_wndGrid.InsertColumn (1, _T("Second Column"), 80 /* Width */);

// Add 100 rows:
for (int nRow = 0; nRow < 100; nRow++)
{
    CBCGPGridRow* pRow = m_wndGrid.CreateRow (GetColumnCount ());

    for (int i = 0; i < m_wndGrid.GetColumnCount (); i++)
    {
        pRow->GetItem (i)->SetValue (lValue);
    }

    m_wndGrid.AddRow (pRow, FALSE);
}

m_wndGrid.AdjustLayout ();
Prev  Next