@tbettinazziaxioma-it
@tbettinazziaxioma-it
Forum Replies Created
-
AuthorPosts
-
tbettinazzi@axioma.it
ParticipantTks
it works also if I wrap an existing standard html table ?
tbettinazzi@axioma.it
ParticipantTks 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.it
ParticipantI 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.it
ParticipantTks 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 1 year, 12 months ago by
tbettinazzi@axioma.it.
tbettinazzi@axioma.it
ParticipantElegant 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.it
ParticipantNo suggestions ?
Tks
tbettinazzi@axioma.it
ParticipantIn other situation I used css classes but with smart-tooltip I wasn’t able to find a suitable class.
Tks
tbettinazzi@axioma.it
ParticipantTestcase sent.
Tks
tbettinazzi@axioma.it
ParticipantTks 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.it
ParticipantSent.
Tks
tbettinazzi@axioma.it
ParticipantI created a testcase to reproduce the problem.
Is quite huge because I copied it from my real world.
Please provide me a way to send You the code.
Not all the code is needed but if I can’t clean up the unneeded parts.
The examples shows that the page buid up time is quite long (6 seconds) and it depends entierely from a large dropdown list.
Please suggest a solution to improve significantely the response time.
Tks
-
This reply was modified 2 years, 10 months ago by
tbettinazzi@axioma.it.
tbettinazzi@axioma.it
ParticipantTks for the example.
In the example, however, I don’t see, how to put the progressbar in a modal layer and how to stop ane eliminate it at the end of the loadinbg process.
Tks again
Tullio
tbettinazzi@axioma.it
ParticipantI already use dataSource but it seems a little better but is stil slow more than standard html select.
Tks
-
This reply was modified 2 years, 10 months ago by
tbettinazzi@axioma.it.
-
This reply was modified 2 years, 10 months ago by
tbettinazzi@axioma.it.
tbettinazzi@axioma.it
ParticipantMy problem is that when the dropdown has many elements (> 500) it’s slow (more than 1 sec to show).
I hoped that a simpler element like smart input was faster.
Isn’t it ?
Tks
tbettinazzi@axioma.it
ParticipantUnfortunately I can’t because my page is generated at runtime and I don’t know which kind of elements are in that page.
Anyway I did it in a simple testcase I created and it doesn’t change the page building time.
On the other hand the js file are cached and the loading time of the js doesn’t seem to be a problem.
Tks
-
This reply was modified 1 year, 12 months ago by
-
AuthorPosts