Author Topic: Auto select the context when focus in edit mode  (Read 2735 times)

lsl

  • Pro Deluxe
  • Jr. Member
  • *
  • Posts: 67
    • View Profile
Auto select the context when focus in edit mode
« on: September 25, 2014, 01:01:20 pm »
When a textbox gets focus, it will be selected (highlight) the context. ie. If I want to change from 'ABC' to '123', I just want to input '123' .

But now in a pqgrid, the focused column is not selected. So that if I want to change from 'ABC' to '123', I want to press backspace 3 times and key in '123'.

Can I do like a textbox, auto select the context when get focus?

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6298
    • View Profile
Re: Auto select the context when focus in edit mode
« Reply #1 on: September 25, 2014, 01:07:16 pm »
This is the option for it

Code: [Select]
editor: {
            select: true
        },

http://paramquery.com/pro/api#option-editor