Date picker position

This sub-forum is for discussing all topics related to AppGini Helper JavaScript Library, provided by bizzworxx as a third-party AppGini plugin.
Post Reply
SkayyHH
Veteran Member
Posts: 425
Joined: 2015-04-27 21:18

Date picker position

Post by SkayyHH » 2020-06-15 12:14

Hello,

is it possible to right-align the date picker? With large fields, this is more useful for the user.

So that the date picker pops up over the button.

Thank you very much.

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1807
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: Date picker position

Post by jsetzer » 2020-06-15 12:30

Hello Kai,

I am not sure which datepicker you are refering to. The only datepicker-related feature we have in our library is the .toDatePicker() function call for datetime fields. Is this what you mean?

Or is your question related to core AppGini datepicker? Can you please upload a screenshot so we can see what you mean.

Regards,
Jan
Kind regards,
<js />

My AppGini Blog:
https://appgini.bizzworxx.de/blog

You can help us helping you:
Please always put code fragments inside [code]...[/code] blocks for better readability

AppGini 24.10 Revision 1579 + all AppGini Helper tools

SkayyHH
Veteran Member
Posts: 425
Joined: 2015-04-27 21:18

Re: Date picker position

Post by SkayyHH » 2020-06-16 21:19

Hello Jan,

i mean the date picker of your library. With wide fields, it is uncomfortable to have the date selection on the left when the button is on the right. See the screenshot please. Especially in large screen resolution with wide fields.

Best regards, Kai

http://managersystem.de/!/2020-06-16_231302.png

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1807
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: Date picker position

Post by jsetzer » 2020-06-16 22:08

Ok, thanks for clarifying.

The datepicker you are refering to is the default datepicker being referenced in generated applications by default. I think it is this one:

http://eonasdan.github.io/bootstrap-datetimepicker/

At the first glance I haven't seen any alignment option. If there isn't, maybe you can change the default alignment with custom css.

Regards,
Jan
Kind regards,
<js />

My AppGini Blog:
https://appgini.bizzworxx.de/blog

You can help us helping you:
Please always put code fragments inside [code]...[/code] blocks for better readability

AppGini 24.10 Revision 1579 + all AppGini Helper tools

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1807
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: Date picker position

Post by jsetzer » 2020-06-17 17:48

Hi,

I did some research on the AppGini default datetimepicker you'd like to modify. There seems to be an option named "widgetPositioning". I don't know if this exactly controls what you would like to see, but you could give it a try before trying with custom css.

Docs for all available options:
http://eonasdan.github.io/bootstrap-dat ... r/Options/

Regards,
Jan

PS: I think I remember there were a few posts here, in which AppGini users changed the behaviour and display of eonasdan's datetimepicker. I remember there was javascript for removing the seconds or something like this.
Kind regards,
<js />

My AppGini Blog:
https://appgini.bizzworxx.de/blog

You can help us helping you:
Please always put code fragments inside [code]...[/code] blocks for better readability

AppGini 24.10 Revision 1579 + all AppGini Helper tools

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1807
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: Date picker position

Post by jsetzer » 2020-06-17 17:52

Found another Link which could help:
https://stackoverflow.com/questions/401 ... datepicker
Kind regards,
<js />

My AppGini Blog:
https://appgini.bizzworxx.de/blog

You can help us helping you:
Please always put code fragments inside [code]...[/code] blocks for better readability

AppGini 24.10 Revision 1579 + all AppGini Helper tools

SkayyHH
Veteran Member
Posts: 425
Joined: 2015-04-27 21:18

Re: Date picker position

Post by SkayyHH » 2020-06-17 20:31

Thanks much.

Something like that works:

$('#appginihelper-field input')({
opens: 'right'
});

However, I now have the time picker too.

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1807
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: Date picker position

Post by jsetzer » 2020-12-18 14:20

Great! Thanks for feedback!
Kind regards,
<js />

My AppGini Blog:
https://appgini.bizzworxx.de/blog

You can help us helping you:
Please always put code fragments inside [code]...[/code] blocks for better readability

AppGini 24.10 Revision 1579 + all AppGini Helper tools

Post Reply