@boikom
@boikom
Forum Replies Created
-
AuthorPosts
-
admin
KeymasterAlright,
I found the scripts for exporting PDF and XLSX, but I’m still having problems with the print method.
Where is the function implemented? Or is my version too old? How could I check that?
Greetings,
Gerhardadmin
KeymasterHi Peter,
thank you very much! That worked for me.admin
KeymasterHi Tr12,
Yes, it requires about 400ms for 30 textboxes. If this is slow for you, you can use our smart-input which is similar, but with more basic features.
Best Regards,
Peter
Smart HTML Elements Team
https://www.htmlelements.comadmin
KeymasterHi Tr12,
Actually, the previous was answered by my colleague. Anyway, you can call him Peter, too 🙂
When you add multiple HTML Elements, it would be better to add them just once in the DOM.const doc = document.createDocumentFragment(); for(let z = 0; z < 30; z++) { let text = new window.Smart.TextBox(); text.value = "abc"; doc.appendChild(text); } document.body.appendChild(doc);
Best Regards,
Peter
Smart HTML Elements Team
https://www.htmlelements.comadmin
KeymasterHi,
Thank you for the feedback. The behavior is confirmed and we will look at it for the next scheduled release.
Best Regards,
Peter
Smart UI Team
https://www.htmlelements.com/admin
KeymasterHi Tr12,
We are not sure from where the issue comes. We will have to test and debug that scenario.
Best regards,
Peter
Smart UI Team
https://www.htmlelements.com/admin
KeymasterHi Gerhard,
That initialization requires the HTML Element to be in the DOM. If the querySelector by id, which in this case is ‘grid’, the component properties would not be set. In general, it is not necessary to use that kind of initialization. You can set properties as in the standard SELECT tags like myGrid.someProperty = someValue;
Regards,
Peter
Smart UI Team
https://www.htmlelements.com/admin
KeymasterHi Tr12
Thank you for the feedback.
We will look into that Grid behavior for the next release which will be the last week of the month.
Best regards,
Peter
Smart UI Team
https://www.htmlelements.com/admin
KeymasterHello,
Thanks for writing.
However, the correct tag is used in the referred demo.
Regards,
Peter
Smart UI Team
https://www.htmlelements.com/admin
KeymasterHow did you use the Input?
Best Regards,
Peter
Smart UI Team
https://www.htmlelements.com/admin
KeymasterHi edwardsmarkf,
Smart UI does not support legacy browsers like Internet Explorer. You can check the browsers compatibility here: https://www.htmlelements.com/docs/browsers-support/.
Best Regards,
Peter
Smart UI Team
https://www.htmlelements.com/admin
KeymasterHi,
– It is slow approach to do document.body.appendChild multiple times. The correct approach is to create a document fragment, append all items to it and then append the document fragment.
– The second approach with setting dataSource is better one. However, you should set the “virtualized” property to true, if you plan to use this component with many items. If all items will be with equal height, you can speed up the things by setting the “itemHeight” property, too. By doing that, height layout calculations will not be performed by the UI Component.
Best Regards,
Peter
Smart UI Team
https://www.htmlelements.com/admin
KeymasterHi Mitesh,
We have decided to implement this functionality for a future version of Smart HTML Elements, but it will be applicable only when taskPosition is ‘leaf’ and when “leaves” are all on the same level (as, for example, in your image – third level).
Best regards,
Dimitar
Smart HTML Elements Team
https://www.htmlelements.comadmin
KeymasterHi,
The feature is by design only in the ComboBox. It is not planned for DropDownList.
Best Regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/July 10, 2020 at 11:10 am in reply to: SmartDropDownList in SmartWindow doesn't work correctly #100894admin
KeymasterHi Tr12,
1. If you want the dropdownlist’s dropDown to be not hosted by its container, use the dropDownAppendTo property and set it to ‘body’. That way,its bounds would not be restricted by the container’s size. See the property here: https://www.htmlelements.com/docs/dropdownlist-api/#toc-dropdownappendto_any
2. In Javascript Events Bubble. As the dropDownList also has a ‘close’ event it bubbles up to the document. This behavior is correct.
Best Regards,
Peter Stoev
Smart HTML Elements
https://www.htmlelements.com/ -
AuthorPosts