Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
290
Set maxLength on igGrid updating with numeric editor
posted
I'm trying to set the maxLength property of an editable cell at 
runtime, and am having no success. We are using MVC2, with v11.2,
running on IE8.
In the event handler for 'iggridupdatingeditcellstarted':
Both ui.editor.igNumericEditor('option''maxLength', 7);
and $(ui.editor).igNumericEditor('option''maxLength', 7);
have no effect on the editor, and there seems to be no way to
incorporate this feature into the grid editor as the maxLength
property is not exposed to the HTML helper.
Also, moving the setting of the property to iggridupdatingeditcellstarting 
has no effect.
Am I missing something?

Thanks,
Bob