ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: lsl on September 25, 2014, 01:01:20 pm

Title: Auto select the context when focus in edit mode
Post by: lsl 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?
Title: Re: Auto select the context when focus in edit mode
Post by: paramvir 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