Grid Filter Support

Fully implemented BCGControlBar Pro (MFC)

Fully implemented BCGSuite (MFC)

Fully implemented BCGControlBar for .NET

Built-in Filter Support You can add a callback function and implement any custom filter.

Build-in filter menu support. You may integrate filter settings dialog with checkbox items into a menu.

Grid Filter Support

Sample code:

LRESULT CALLBACK FilterCallback (WPARAM wParam, LPARAM lParam)
{
	CBCGPGridRow* pRow = (CBCGPGridRow*) wParam;
	ASSERT_VALID (pRow);

	if (pRow->IsGroup ())
	{
		return FALSE; // do not hide groups
	}

	CBCGPGridItem* pItem = pRow->GetItem (pParam->nCol);
	if (pItem == NULL)
	{
		return FALSE;
	}

	// If pRow value is "out of filter", don't show it:
	if (FilteredOut (pRow))
	{
		return TRUE
	}

	return FALSE;
}

CBCGPGridCtrl m_wndGrid;
m_wndGrid.EnableFilter (FilterCallback, 0 /* LPARAM */);