ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: nuno.nogueira on February 13, 2014, 11:16:42 pm

Title: Input mask
Post by: nuno.nogueira on February 13, 2014, 11:16:42 pm
Hi again,

Is there any chance of using an input mask for editing rows?
For example, I'd like to help users enter phone numbers or bank accounts.
I have another library specific for that but can't figure out how to integrate it with colModel.

Thanks!
 ;)
Title: Re: Input mask
Post by: paramvir on February 14, 2014, 01:47:29 pm
Yes you can, you need to append your editor to ui.$cell

Please refer to this demo on adding custom editors.

http://paramquery.com/pro/demos/editing_custom
Title: Re: Input mask
Post by: nuno.nogueira on February 14, 2014, 05:58:55 pm
Ok, I've got it, thanks!

 :)