Author Topic: grid filter auto width does not work  (Read 68 times)

hideki.yoshikura

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 31
    • View Profile
grid filter auto width does not work
« on: June 30, 2020, 03:22:21 pm »
Hi,

Param query version is using 6.2.4.
There is a phenomenon that the auto width of the filter does not work when the character displayed in the filter contains the character string of the combination of Kanji and numbers.
For alphabets only, auto-width works and the string is displayed correctly.

This phenomenon can be confirmed with the following procedure at the demo site below.
https://paramquery.com/pro/demos62

1. First, set grid option referring to the following site.
https://paramquery.com/pro/demos/filter_custom
gridOptions: {
                width: 'flex',
                flex: { one: true }
            }
2. Set the following css.
.pq-popup {
    width: auto !important;
}

3. In ShipCountry, enter kanji and numbers. 30 characters in total

4.The width of the filter is not adjusted automatically and some characters are not displayed.
Please see the attached file

Is this a bug?
Please tell me the reason why the filter does not work depending on the combination of character strings, and if there is a countermeasure,

Thank you.

hideki.yoshikura

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 31
    • View Profile
Re: grid filter auto width does not work
« Reply #1 on: June 30, 2020, 03:26:31 pm »
Sorry,

I will attach the file again.
please confirm

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 4652
    • View Profile
Re: grid filter auto width does not work
« Reply #2 on: June 30, 2020, 05:11:07 pm »
[ Only Pro members may read this post. ]

hideki.yoshikura

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 31
    • View Profile
Re: grid filter auto width does not work
« Reply #3 on: July 01, 2020, 07:56:11 am »
Thank you for your reply.

I added the option for scrollStop, but the symptom did not change.
As a test, setting the character string that combined the alphabet, kanji and numbers in the cell on the 2nd line, auto width worked.
Please see the attached file
Is this related to the combination of strings?

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 4652
    • View Profile
Re: grid filter auto width does not work
« Reply #4 on: July 01, 2020, 08:32:43 am »
[ Only Pro members may read this post. ]

hideki.yoshikura

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 31
    • View Profile
Re: grid filter auto width does not work
« Reply #5 on: July 01, 2020, 10:33:29 am »
Sorry.
I made a mistake in the setting location of scrollStop

It was solved by adding scrollStop.
Thank you


« Last Edit: July 01, 2020, 11:39:47 am by hideki.yoshikura »