Author Topic: about autocomplete how to Match the first character  (Read 2460 times)

杨万里

  • Newbie
  • *
  • Posts: 25
    • View Profile
about autocomplete how to Match the first character
« on: June 10, 2018, 03:25:59 pm »
Hi!
Autocomplete how to Match the first character?
When I input a letter A, I match all items containing the letter a.
But I just want all line that starts with a.
Thank you!
I know I have a lot of problems, but I'm really worried. I'm very sorry.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: about autocomplete how to Match the first character
« Reply #1 on: June 12, 2018, 11:16:48 am »
please check jqueryui documentation for autocomplete.

杨万里

  • Newbie
  • *
  • Posts: 25
    • View Profile
Re: about autocomplete how to Match the first character
« Reply #2 on: June 12, 2018, 08:04:01 pm »
hi!
how to know the count of all rows,after  addrow?
I try to use this:
var column = $grid.pqGrid("getData", {dataIndx: ['id']});
var RowCount=column.length;
but it is not work ,RowCount is not change;