Thank you for reporting this bug. We will make it our priority to review this report.
Boolean Filter default not applied when first made active
Boolean Filter default not applied when first made active
Hi
I have a grid with boolean columns on
see fiddle http://ift.tt/17D0ZOHAs you can see from columns Phase 1 and Phase 2, if the filter menu item is set to "active" without clicking on the value required for the filter, the value that is supposed to be being filtered is ignored, and it only seems to filter for null, not the actual boolean value.
To demonstrate,
1. open the menu on column "Phase 1"
2. select the checkbox against the "Filter" on column 1. Though the items in the menu seem to imply that any rows set to "No" (false) will be selected, actually this is ignored and only items set to null are selected. (item = test3)
3. whilst the menu is still open for the filter, if you then click on the "No" sub menu item (which appears to be already checked) then the correct selection is shown. (item = test 2/3)I have also included column "Phase 2" giving the defaultValue (in this case Yes) but as can be seen the results are the same.
I have also tried to remove the "default" value, setting it to null as per the documentation
http://ift.tt/1CcyYqA
This implies that the default can be cleared but does not work as per documentation
Set this to null if you do not want either option to be checked by default.
See column "Phase 3 " for details
Boolean Filter default not applied when first made active
Aucun commentaire:
Enregistrer un commentaire