Author Topic: inquiry Autocomplete column  (Read 921 times)

YONGHOO KIM

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 20
    • View Profile
inquiry Autocomplete column
« on: December 16, 2022, 08:17:03 am »
Hi !

This is question of AutoComplete cell.
Few days ago I upgrade pqgrid 7.2.0 to 7.7.0

7.2.0 version
When I type the data which does not exist in init dataset, cell will be change to blank cell.

7.7.0 version
When I type the data which does not exist in init dataset, input data is still exist.

For example
initdata:["apple", "banana", "carrot"]
> type "Z"
> 7.2.0 Cell change to ""
> 7.7.0 Cell value is "Z"

What is changed? How can I handle ? Do you have any option ?
I want to do that like 7.2.0.

Thank you

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: inquiry Autocomplete column
« Reply #1 on: January 04, 2023, 06:30:32 pm »
you could use validation and set editModel.allowInvalid to false

https://paramquery.com/pro/demos77/editing_custom