Author Topic: Input mask  (Read 3736 times)

nuno.nogueira

  • Pro Economy
  • Jr. Member
  • *
  • Posts: 95
    • View Profile
Input mask
« 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!
 ;)

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6296
    • View Profile
Re: Input mask
« Reply #1 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

nuno.nogueira

  • Pro Economy
  • Jr. Member
  • *
  • Posts: 95
    • View Profile
Re: Input mask
« Reply #2 on: February 14, 2014, 05:58:55 pm »
Ok, I've got it, thanks!

 :)