@boikom
@boikom
Forum Replies Created
-
AuthorPosts
-
admin
KeymasterThank you, I’ll try that.
Best Regards,
Gerhardadmin
KeymasterHi Gerhard,
It is normal a CPU to rise when you scroll through a Grid, because there are calculations being made by the component, sometimes cells formatting, loading of html templates, etc. What we can recommend is, if you do not use the advanced features of the Grid and you do not work with large data set to switch to our lightweight version – the Table component.
Best regards,
Boyko Markov
Smart UI Team
https://www.htmlelements.com/admin
KeymasterHi Douglas,
You can find our Admin and Dashboard Templates here: https://github.com/HTMLElements/smart-templates
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/admin
KeymasterHi developer09,
We created work items for both reported issues:
https://github.com/HTMLElements/smart-webcomponents/issues/3
https://github.com/HTMLElements/smart-webcomponents/issues/4
Thank you for the valuable feedback!
Best regards,
Boyko Marokv
Smart UI Team
https://www.htmlelements.com/admin
KeymasterOk. If I copy&paste your code in my local project it works now. If I return back to my initial project and remove Bootstrap styles, then it works too. So that is.
I will wait for the next release. Is there any due date (or approximate) for the fix?
Thanks.admin
KeymasterHi developer09,
The issue is a conflict with other scripts and css on the page. When we remove them, it works: https://dotnetfiddle.net/GaLrBG
We will work on this for the next version to clear these conflicts with other libraries.
Best regards,
Boyko Marokv
Smart UI Team
https://www.htmlelements.com/admin
KeymasterNo changes when I add the type=”module” stuff.
Regarding dotnetfiddle.net, I have never used it. But I infer I have to import the NuGet package. The problem is that I am not able to import specifically your Smart libraries:
https://ibb.co/Ws0FYbZ
Sorry I have tried multiple search strings, but they are never found. How is it supposed to be done?
I have also tried by hotlinking your demos’ JS files, but logically I incur in a “CORS” error.
This is the link to my fiddle demo, in theory it is only needed to fix the JS import thing:
https://dotnetfiddle.net/rdKGqY
Thanks.admin
KeymasterHi,
The javascript code looks OK, except how the Scripts are imported. I suppose that the site.js script is actually loaded in your app, before the smart.grid module. You can try changing the type=”module” to the site.js as well.
However, in order to test and debug, we will need a complete sample which demonstrates an issue. You can share it online if you wish by using https://dotnetfiddle.net/
Best regards,
Boyko Marokv
Smart UI Team
https://www.htmlelements.com/admin
KeymasterThank you very much.
admin
KeymasterHi Ronak,
The demo is available in the download package, too. It uses a custom editor defined in a native HTMLTemplateElement defined in template tag. To use that approach HTMLTemplateElement should be outside of the Angular component. It is also possible to use Angular component within Grid column and this approach is described in this tutorial: https://www.htmlelements.com/docs/angular-component-grid-column/
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/admin
KeymasterHi davout,
resultCallbackFunction should be called when you want to call it based on your application’s needs. It is called by your code.
The DataGrid has ‘sort’ and ‘page’ events. The ‘sort’ and ‘page’ events are documented here: https://www.htmlelements.com/docs/grid-api/.
As we pointed in a previous communication with you. We suggest you to look at this help tutorial and its implementation.: https://www.htmlelements.com/docs/angular-rxjs/
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/September 15, 2020 at 7:22 am in reply to: Smart grid [selection] based selection problem when applying sorting #101066admin
KeymasterHi davout,
Could you share a codepen or stackblitz example, which demonstrate your DataGrid application scenario?
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/September 15, 2020 at 7:19 am in reply to: anchor the grid column panel form on another location? #101065admin
KeymasterHi davout,
No. The DataGrid’s API which you can use can be found on the following web page: https://www.htmlelements.com/docs/grid-api/.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/September 15, 2020 at 7:17 am in reply to: Bug with smart grid % height inside a smart splitter #101064admin
KeymasterHi davout,
I would suggest you to check the correct hierarchy of HTML Elements on your page. Make sure that you do not put any attributes on your Splitter Panels, etc. Splitter and Splitter Panels should be used as shown in our docs and examples. Custom styles should be avoided as they may break the logic of the component. Could you please, share codepen example which demonstrates your web application scenario?
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/admin
KeymasterHi Ronak,
The demo you refer uses a custom template defined as HTMLTemplateElement. If you want to display dropdown, it is better to use this: https://www.htmlelements.com/angular/demos/grid/editing-cell-dropdowns/
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/ -
AuthorPosts