PDA

View Full Version : Grid filter set to a default value, but the title is not bold



Tidusmaster
24 Apr 2012, 1:21 AM
Hallo,

I set the grid filter to a default value,but the title of the column is not instantly highlighted in bold as it should be normal,if a filter is set.
Only when you click the arrow on the title,which leads to the menu, the bold title is shown.

Part of the code:

SearchColumnConfig ccStudy = new SearchColumnConfig("study", "Study", 100);
configs.add(ccStudy);
StringFilterExt fltStudy = new StringFilterExt("study");
fltStudy.setValue(studyForDetails);
filters.addFilter(fltStudy);

I hope you know what I mean and someone has an idea. I tried to fire some events, but nothing works.

hpn777
24 May 2012, 7:57 AM
Try this after you add filter:
filters.updateColumnHeadings();

Tidusmaster
29 May 2012, 5:51 AM
It works! Thanks!