marcos.digirotas Posted February 21, 2020 Share Posted February 21, 2020 Hi there! I dropped a TUniDateTimePicker in a form and defined the kind as tUniTime (format HH:mm). When I open the web page and expand the combo, the component is automatically filled with items every 15 minutes (00:00, 00:15, 00:30, ...). Is there a way to keep all of these values, except the "00:00". I would like to remove this option from the combo. Thanks in advance, Marcos Costa Quote Link to comment Share on other sites More sharing options...
Sherzod Posted February 22, 2020 Share Posted February 22, 2020 21 hours ago, marcos.digirotas said: Is there a way to keep all of these values, except the "00:00". I would like to remove this option from the combo. Hello, If I understand you correctly, this post may help you: Quote Link to comment Share on other sites More sharing options...
marcos.digirotas Posted February 26, 2020 Author Share Posted February 26, 2020 Hello Sherzod! Actually I would like to keep the interval in 15 minutes, but I would just like to remove the "00:00" time, or at least change this specific time to 00:01 and keep the others with 15 minutes intervals, example: 00:01, 00:15 , 00:30 ... Quote Link to comment Share on other sites More sharing options...
marcos.digirotas Posted February 26, 2020 Author Share Posted February 26, 2020 I don't know if it is the best way, but I reach my goal by adding the code: function afterCreate(sender) { sender.store.data.items[0].data.disp = '00:01'; } 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.