andyhill Posted July 18, 2022 Share Posted July 18, 2022 I need the option to add my own custom Buttons on both iPhone and Desktop with events (where rangeselect button paints) - These are not TitleButtons but calendar buttons Please advise - Thanks Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 19, 2022 Share Posted July 19, 2022 Hello, Sorry, your question is not very clear to me. Quote Link to comment Share on other sites More sharing options...
andyhill Posted July 19, 2022 Author Share Posted July 19, 2022 I want to add "<" and ">" Buttons on Mobile Rendering instead of "+" Quote Link to comment Share on other sites More sharing options...
andyhill Posted July 19, 2022 Author Share Posted July 19, 2022 Also, older code no longer works - do we do it differently now ? Have I missed something ? Timing Issue not fixed. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 19, 2022 Share Posted July 19, 2022 1 hour ago, andyhill said: I want to add "<" and ">" Buttons on Mobile Rendering instead of "+" I will try to check. Quote Link to comment Share on other sites More sharing options...
andyhill Posted July 19, 2022 Author Share Posted July 19, 2022 See < > buttons Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 20, 2022 Share Posted July 20, 2022 7 hours ago, andyhill said: See < > buttons Have you done? Quote Link to comment Share on other sites More sharing options...
andyhill Posted July 20, 2022 Author Share Posted July 20, 2022 No, this is what I want to achieve, PRIOR / NEXT buttons (aligned with date text line) with ajax responses. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 20, 2022 Share Posted July 20, 2022 35 minutes ago, andyhill said: No, this is what I want to achieve, PRIOR / NEXT buttons (aligned with date text line) with ajax responses. There is a compactOptions config, but it doesn't work properly I guess. Need to investigate more. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 20, 2022 Share Posted July 20, 2022 1 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 20, 2022 Share Posted July 20, 2022 function afterCreate(sender) { if (sender.getCompact() == true) { var tbar = Ext.get(Ext.get(sender.element.query('.x-toolbar')).elements[0]); if (tbar) { tbar.component.items.items[3].hide(); tbar.component.insert(4, { xtype: "button", iconCls: "x-fa fa-arrow-left", handler: function() { sender.movePrevious() } }); tbar.component.insert(5, { xtype: "button", iconCls: "x-fa fa-arrow-right", handler: function() { sender.moveNext() } }) } } } 1 Quote Link to comment Share on other sites More sharing options...
andyhill Posted July 20, 2022 Author Share Posted July 20, 2022 Sherzod, you are a genius - thank you This could perhaps be incorporated in a future update. 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.