Login
Logging in...
Remember me
Log in
Forgot password or user name?
Log in with
Search in titles only
Search in Smart GWT Technical Q&A only
Search
Advanced Search
Forums
Home Page
Overview
Products
Services
Solutions
Contact
Company
Reify
Latest Topics
Today's Posts
Member List
Calendar
Forum
Smart GWT Technical Q&A
You need to login (link above) before you can post. If you do not yet have an account, please
register
.
Announcement
Collapse
No announcement yet.
X
Collapse
Posts
Latest Activity
Photos
Search
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Filtered by:
Clear All
new posts
Previous
template
Next
valkas
Registered Developer
Join Date:
Mar 2020
Posts:
8
#1
Is there any way to have type=date as a form field but without day selector?
29 Jul 2020, 00:08
I have a form field and it has a date and datepicker attached. But I don't need YYYY-mm-dd format, I only need YYYY-mm.
Is there any way to exclude days?
Blama
Registered Developer
Join Date:
Sep 2009
Posts:
6815
#2
29 Jul 2020, 00:49
Hi,
it‘s an AutoChild, I‘m sure you can hide it.
Best regards
Blama
Comment
Post
Cancel
valkas
Registered Developer
Join Date:
Mar 2020
Posts:
8
#3
29 Jul 2020, 01:00
Blama
,
What do you mean it's AutoChild? How would I do that?
Currently it looks like this -
https://i.imgur.com/IApoPQX.png
I want it to look like this (imagine red square is white square) -
https://i.imgur.com/z2SH2PA.png
Comment
Post
Cancel
Blama
Registered Developer
Join Date:
Sep 2009
Posts:
6815
#4
29 Jul 2020, 04:30
Ah, I meant AutoChild with 3 Dropdowns. Yours looks like it might be solveable with Display formatting?
Comment
Post
Cancel
Isomorphic
Administrator
Join Date:
May 2006
Posts:
54573
#5
29 Jul 2020, 08:28
You can use setSelectorFormat(DateItemSelectorFormat.YEAR_MONTH) on your item properties
See
https://www.smartclient.com/smartgwt...torFormat.html
Regards
Isomorphic Software
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
X
Comment