Lena Posted July 15, 2015 Share Posted July 15, 2015 Hi. Can I use ExtEvents to block editing UniDateTimePicker from the keyboard? I use this code ExtEvents->date.afterrender: function date.afterrender(sender, eOpts) { sender.editable = false; } This does not work for time. See att. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 15, 2015 Share Posted July 15, 2015 Hi ! Try: function date.afterrender(sender, eOpts) { sender.setEditable(false) } function time.afterrender(sender, eOpts) { sender.setEditable(false) } Best regards. Quote Link to comment Share on other sites More sharing options...
Lena Posted July 15, 2015 Author Share Posted July 15, 2015 Thank you! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.