@tbettinazziaxioma-it
@tbettinazziaxioma-it
Forum Replies Created
-
AuthorPosts
-
tbettinazzi@axioma.itParticipant
I wasn’t able to find a way to create a small server in order to look the data sent back.
Could you suggest a way to investigate such values ?
Tks
P.S. : I tested to get value before launch the submit with
const dropdownlist = document.getElementById(‘dropdownlist’);
console.log(“Value :” + dropdownlist.value);but dropdown list seems to be an object and it shows Value :[object Object] on the console
- This reply was modified 5 months ago by tbettinazzi@axioma.it.
tbettinazzi@axioma.itParticipantSorry but I didn’t understand the answer.
In the onChange event I simply submit the form where the dropdown is included.
Until version 15 the server receives the correct selected value for the dropdown from 16 it receives (in my environment) the value whidh was selected when the dropdown is built.
Tks
tbettinazzi@axioma.itParticipantTested with 15.0.0 and it works.
Tks
tbettinazzi@axioma.itParticipantI saw this example but in it the “server” is already a javascript client server, in the same layer of the client (if I understand right).
Is there something to break the wall and update the data model on a remote server ?
Tks
tbettinazzi@axioma.itParticipantTks for your kindly help.
But I also need to know if there’s an integrated infrastructure to send back data to the server or I should use the jquery ajax.
Tks
tbettinazzi@axioma.itParticipantTks
it works also if I wrap an existing standard html table ?
tbettinazzi@axioma.itParticipantTks but I explained my problem in un unclear mode, may be.
In my idea a radio butto group is an single element composed of 4 buttons (in your example).
When I set the focus, I want to set the focus on that element (4 buttons) and the highlighted button should be the selected one in order to avoid having more than one buton emphasized.
Tks
tbettinazzi@axioma.itParticipantI tested Your solution but I’ve a onfocus trigger
<smart-numeric-text-box id=”e53796681″ input-format=”integer” class=”elemento_testo_valore” value=”0″ name=”e53796681″ required=”” onchange=”mostraAlertMsgOption(this)” onfocus=”on_focus(this)”>
and this seems to inhibit the solution You proposed.
How can I solve it ?
Tks
tbettinazzi@axioma.itParticipantTks for Your help.
I know the post is quite old but only now I’d the time to try to implement it.
I tried with numeric textbox but it doesn’t seem to wotk.
Here my code.<span style=”background-color: #ffffff; padding: 0px 0px 0px 2px;”><span style=”color: #000000; background-color: #ffffff; font-family: ‘Consolas’; font-size: 10pt; white-space: pre;”><span style=”color: #073642; font-weight: bold;”>function</span> </span></span>
function numericTextboxInit() {
console.log(“Entrato”);
for (let i = 0; i < document.getElementsByTagName(‘smart-numeric-text-box’).length; i++) {
console.log(“numero ” + i);
const numericTextbox = document.getElementsByTagName(‘smart-numeric-text-box’)[i];
numericTextbox.addEventListener(‘focus’, (e) => {
setTimeout(() => {
console.log(“Farei”);
e.target.select()
})
});
}
}You see a loop because I can have more than one numeric textbox.
On the console I see
Entrato
numero 0
numero 1
but nothing happen when I set the focus on a smart-numeric-text-box.
What’s wrong ?
Tks
- This reply was modified 7 months, 2 weeks ago by tbettinazzi@axioma.it.
tbettinazzi@axioma.itParticipantElegant solution but it doesn’t fit completely in my environment.
I know if a tooltip should contain a break line if in the text I’ve a placeholder (#br#).
Then I need to change it in a<br/>.
In every tooltip where is present (I don’t know how many tooltip I’ve).
Tks
Tullio
tbettinazzi@axioma.itParticipantNo suggestions ?
Tks
tbettinazzi@axioma.itParticipantIn other situation I used css classes but with smart-tooltip I wasn’t able to find a suitable class.
Tks
tbettinazzi@axioma.itParticipantTestcase sent.
Tks
tbettinazzi@axioma.itParticipantTks for your help.
Just a few questions :
- also DropDownList has a virtualized property, why did You suggest ListBox in spite of DropDownList ?
- are there drawback using virtualized propery (eg. filter don’t work or any other feature missnig) ?
Tks
Tullio
tbettinazzi@axioma.itParticipantSent.
Tks
-
AuthorPosts