1

i want create customText box in popup panel in jqgrid As follows:

4digit-3character-4digit

please help me. thanks

Pouya
  • 1,882
  • 16
  • 55
  • 78
  • What you mean under "popup panel"? Do you use form editing? Do you want to have masked input field? – Oleg Jan 29 '12 at 10:41

1 Answers1

3

You can use digitalBush masked jQuery plugin for the editing. You should initialize the masked pluging inside of dataInput of the editoptions

dataInit: function (elem) {
    $(elem).mask("9999-aaa-9999");
}

Look the demo and another answer for more details.

Community
  • 1
  • 1
Oleg
  • 219,533
  • 32
  • 395
  • 775