Author Topic: Header filter value disappears for currency format £0  (Read 1504 times)

TonyLeech

  • Pro Enterprise
  • Jr. Member
  • *
  • Posts: 76
    • View Profile
Header filter value disappears for currency format £0
« on: March 15, 2021, 06:57:34 pm »
With a currency column format like this

{ title: "Value £", align: "center", dataIndx: "value", dataType: "float", editable: false, hidden: false, format: "£#.00", filter: { crules: [{condition: 'between'}]} }

If you enter 0 in the left filter box (so any values greater than £0 are listed) a grid refresh causes the left filter box to appear empty although the 0 is still being applied.

I have confirmed this on your own demo https://paramquery.com/pro/demos/filter_header after adding currency format in your freight column and changing filter to 'in between'.

If another value, like 1, is entered into the left filter box, the filter box correctly displays £1.00 even after a refresh.  Also if 0 is entered into the right-side filter box the entry is correctly displayed as £0.00 and does not disappear following a refresh.

The above problem also occurs for the filter type 'greater than'.

Do you have a workaround until this bug is fixed?

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Header filter value disappears for currency format £0
« Reply #1 on: July 21, 2023, 01:41:35 pm »
This is resolved in v9.0.1