@boikom
@boikom
Forum Replies Created
-
AuthorPosts
-
admin
KeymasterHi Peter,
It is possible to use a licensed version through NPM. As this information is not for a public forum, please write to support@jqwidgets.com or support@htmlelements.com for license unlock instructions.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/admin
KeymasterHi Gerhard,
I would suggest you to check the code and required scripts in this demo: https://www.htmlelements.com/demos/grid/print/.
The printing internally uses the Data Export and the Web Browser’s Printing API.
Best Regards,
Peter
Smart HTML Element
https://www.htmlelements.com/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.com -
AuthorPosts