@tbettinazziaxioma-it
@tbettinazziaxioma-it
Forum Replies Created
-
AuthorPosts
-
tbettinazzi@axioma.it
ParticipantI investigate deeper and the problem seems to be a little more complex.
In the onfocus I activate the following code in order to have the sequence number of the element :
var elementName = getElementName(element);
for (var i = 0; i < myPage.length; i++) {
if (getElementName(myPage.elements[i]) == elementName) {
id = i;
}
}I found that when the checkbox goes from unchecked to checked the code fails and doesn’t find the sequence number, when it goes from checked to unchecked it works and finds the correct sequence number.
Could You explain me why ?
I also listed all elements and, effectively, when the checkbox is non checked it doesn’t esist in list of the element of the pages.
Tks
Tks
-
This reply was modified 3 years, 8 months ago by
tbettinazzi@axioma.it.
tbettinazzi@axioma.it
ParticipantSorry but I didn’t understand (may be some comma are missing).
When a checkbok has not the focus and I click on it it will fire before onfocus and then onchange or viceversa ?
Tks
Tullio
tbettinazzi@axioma.it
Participant<span class="Y2IQFc" lang="en">Effectively it seems to fire before the onchange event and then the onfocus doesn't fire. Tks</span>
tbettinazzi@axioma.it
ParticipantI solved.
Tks
tbettinazzi@axioma.it
ParticipantI solved using edit_mode=full
tks
-
This reply was modified 3 years, 8 months ago by
tbettinazzi@axioma.it.
September 12, 2022 at 3:34 pm in reply to: Date time calendar tab header undefined in italian #103668tbettinazzi@axioma.it
ParticipantI tested Your suggestion but it doesn’t work.
In your demo the date picker is setted “en” and then changed to “it”.
However If you set directly “it” as in
<smart-date-time-picker class=”demoDateTimePickerWide”
calendar-button
enable-mouse-wheel-action
drop-down-position=”center-bottom”
spin-buttons
spin-buttons-position=”left”
locale=”it”></smart-date-time-picker>You’ll see the value undefined.
Tks
Tullio
September 8, 2022 at 7:19 am in reply to: Date time calendar tab header undefined in italian #103653tbettinazzi@axioma.it
ParticipantTks for Your help.
In my “environment”, however, I don’t know “a priori” how many datepicker I’ve (it’s a runtime generated html code).
Is there any way to set it once for all ?
Tks
tbettinazzi@axioma.it
ParticipantSorry but I don’t understand what I should do.
How can I set such variables ?
Could You provide a small example ?
Tks
tbettinazzi@axioma.it
ParticipantTks.
I still have some small problems :
- the button label is allways capital (even if I write Take License I see TAKE LICENSE)
- how can I control the button size to make i larger enough to keep the button text (e.g. take license)
Tks
Tullio
tbettinazzi@axioma.it
ParticipantTks, it seems to work.
How can I force the calendar to appear in italian and not in english ?
Tks
tbettinazzi@axioma.it
ParticipantTks but I still don’t understand how to “pass a date” in a json datasource.
Could You suggest the correct way ?
Tks
tbettinazzi@axioma.it
ParticipantSorry but I still don’t understand where and how to set locale.
I use :
{ label: ‘Campo data 1’, dataField: ‘C6’, cellsFormat: ‘dd/MM/yyyy’,
editor: {
template: ‘dateTimePicker’,
formatString: ‘dd/MM/yyyy’,
onInit(index, dataField, editor) {}}},but I don’t understand where set my locale.
Tks
tbettinazzi@axioma.it
ParticipantMy browser locale is it_IT and is correct but the datepicker still shows english captions and seems to work in american standard.
Tks
I got the browser language using
function getLang() {
if (navigator.languages != undefined)
return navigator.languages[0];
return navigator.language;
}tbettinazzi@axioma.it
ParticipantSorry I was forced to change the account because I don’t receive mails anymore on the other account.
Anyway I still find the problem.
I suspect the problem coud be my PC language setting which is Italian.
When I open the date picker I see all in english.
Is there any specific setting for the datekeeper related to language ?
Tks
-
This reply was modified 3 years, 8 months ago by
-
AuthorPosts