How do you disable this control in Javascript? I don't see any disable or enable methods?
I tried disabling the html input element, which keeps the user from entering input, but this of course doesn't change the styling, so the control still looks like you can enter data into it. So, I have to use the JQuery addClass to add 'ui-state-disabled' to the element. I have to do this all in reverse to enable the control.
If this is the only way to accomplish this, can you point me to any documentation on extending the control to add disable and enable methods?
Oh yes the problem i need to find. Your article provides useful information that i am looking for. I will often visit this site.
abcya
Thanks Martin! This works perfectly. However, I'm unable to use this, or any of the client-side functionality in the ig controls if I generate them through the MVC Helpers as opposed to through jQuery. Since it's a different question, and I'm getting the same issue with all ig controls, I posted it here in case you know the solution:
https://ko.infragistics.com/community/forums/f/ignite-ui-for-javascript/68835/mvc-helper-controls-different-than-jquery-created-controls
Hi JoshNoe,
There is option "disabled" which is not documented. You can use it in the following way:
I'll make sure to document it in the next Service Release.
Thank you for your valuable question.
Martin Pavlov
Infragistics, Inc.