@boikom
@boikom
Forum Replies Created
-
AuthorPosts
-
adminKeymaster
Hello davout,
Both approaches are valid and applicable. To enable paging in the case where a table element is inside smart-table, just set the attribute (property) paging and whatever other settings you require to the smart-table tag, i.e.:<smart-table id="table" paging> <table> <thead> <tr> <th scope="col">Country</th> <th scope="col">Area</th> <th scope="col">Population_Rural</th> <th scope="col">Population_Total</th> <th scope="col">GDP_Total</th> </tr> </thead> <tbody> <tr> <td>Brazil</td> <td>8515767</td> <td>0.15</td> <td>205809000</td> <td>2353025</td> ...
Best regards,
Dimitar
Smart HTML Elements Team
https://www.htmlelements.comadminKeymasterHello Peter,
There is no need to add a dependency to another, more specific, npm package. What matters to the size of the build is what is actually imported in your Angular application (in app.module.ts). If you have imported only, for example, DockingLayoutModule, only it will be bundled when the application is built.
Best regards,
Dimitar
Smart HTML Elements Team
https://www.htmlelements.comadminKeymasterHello!
In the query builder, is it possible to add the options: “Not And”, “Not Or” when you add a group or a field? Because now there are only “And” and “Or”.adminKeymasterHello tanner anz,
Thank you for the feedback. We will work on updating this behavior for the next version of Smart HTML Elements.
Best regards,
Dimitar
Smart HTML Elements Team
https://www.htmlelements.comadminKeymasterHi dcjuan00001,
1. Thank you for your feedback. There is indeed currently an issue with the export to PDF at certain widths of Smart.Grid. We will try to fix it as soon as possible. The expected behavior can be seen if you open the same demo in a separate window: https://www.htmlelements.com/demos/grid/data-export/index.htm:
– Exported column widths correspond to the current column widths of the Grid;
– If there is not enough space on the page for all columns, they are displayed on separate pages. This is also the way exporting to PDF works in Microsoft Excel.
2. In Chrome, to enable printing of colored background, you would have to click “More settings” in the Print dialog and then check “Background graphics”.
Best regards,
Dimitar
Smart HTML Elements Team
https://www.htmlelements.comadminKeymasterHi davout,
We updated it. Thanks for the feedback.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/adminKeymasterThank you, I’ll try that.
Best Regards,
GerhardadminKeymasterHi 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/adminKeymasterHi 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/adminKeymasterHi 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/adminKeymasterOk. 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.adminKeymasterHi 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/adminKeymasterNo 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.adminKeymasterHi,
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/adminKeymasterThank you very much.
-
AuthorPosts