If you create a ListGrid and try to find out if the FilterEditor is displayed, you call:
The result is a null instead of a false.
So if in your code you conditonally display the FilterEditor based on some condition, and you want to test whether the filterEditor is displayed or not, you have to do:
Is this practical or can we call it a bug?
PS: I am using SmartGWT 3.0
Code:
ListGrid.getShowFilterEditor()
So if in your code you conditonally display the FilterEditor based on some condition, and you want to test whether the filterEditor is displayed or not, you have to do:
Code:
if (ListGrid.getShowFilterEditor() == null || !ListGrid.getShowFilterEditor())
PS: I am using SmartGWT 3.0
Comment