Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
Rado Manzela
|
Apr 25, 2014 - 3:17 PM
|
Since previous version I’ve used you’ve made change in void CExtGridWnd::OnGridFilterChanged()
if( _tcsi.m_nColType == 0 ) { if( pHeaderFilterCell != NULL && pHeaderFilterCell->m_bDynamicValueFilters ) { pHeaderFilterCell->m_bValueFilterShowAllState = false; OnGridFilterCalcPlainUniqueValuesForRow( pHeaderFilterCell->m_arrUniqueStringValues, _tcsi.m_nRowNo ); } OnGridFilterUpdateForRows( _tcsi.m_nRowNo, _tcsi.m_nColNo, _tcsi.m_nRowType < 0 ? true : false, pHeaderFilterCell ); }
Why do you refresh values list (OnGridFilterCalcPlainUniqueValuesForRow) when filter was changed? How can filter influence list of available values in grid?
The problem for me is this line:
pHeaderFilterCell->m_bValueFilterShowAllState = false;
it causes that value filter (with empty value list) is activated even when you create only "Text filter" or click to "Clear Filter From ..." so after this the grid will be always empty until application restart. Can you check this please? In case miracle happens and there will be new version of ProfUIS I’d be unhappy to get it again :) Thank you.
|
|
Art Wilkes
|
May 7, 2014 - 9:12 AM
|
|
|