@boikom
@boikom
Forum Replies Created
-
AuthorPosts
-
adminKeymaster
Hi Fabio,
Thank you for the feedback. We were able to see the reported behavior in Firefox and will resolve it for the next release. It is scheduled for this week.
Best Regards,
Peter
Smart HTML Elements Team
https://www.htmlelements.comadminKeymasterHi Cristofer,
I have uploaded an example on CodeOpen and the refresh with Chrome is ok but with Firefox is doesn’t.
Can you help me?
Link is: https://codepen.io/fabionicc/pen/vYNzKaL
Best regards.
FabioadminKeymasterHi Fabio,
I think the error is in this: timeStampGrid.columns = columns;
Best Regards,
Peter
Smart HTML Elements Team
https://www.htmlelements.comadminKeymasterHi Christopher,
you can investigate at link
http://sviluppo.vgnetdev.pro/tabelle/timestamp/timestampLista.php
Best regards,
FabioadminKeymasterHi astelcom,
The Grid has cellClick and rowClick events. You can use them to handle clicks and custom logic.
Best Regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/adminKeymasterHi astelcom,
Thank you for the feedback.
I confirm the reported DataGrid behavior. We will fix it for the next release which will be in the second half of this month.
Best Regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/adminKeymasterHi,
You should use the “value” not the “label” of the Item.
Example:function selectToyota() { list.ensureVisible("toyota");}
Regards,
PeteradminKeymasterHello Martin,
I think that the problem is binding the data source because the grid is empty.
Best regard.adminKeymasterHi Aks26,
Please, provide an example which reproduces the behavior which you report. The problem could be in the Gantt, but also could be caused by something else. We cannot tell from the information, which we have.
Regards,
Peter
Smart UI Team
https://www.htmlelements.com/adminKeymasterHi, replying after quite a while because I thought I had fixed it. But as I said, the auto-height function seems to be a bit buggy. Also, I am using the latest Smart UI version. What happens is sometimes the chart displays as I want it to, some other times it is collapsed and scrollbars show up.
If anything, prolonged click on the reload button and selecting the ‘Empty cache and hard reload’ option fixes this consistently. So can you help me out? Even if the chart itself is buggy, can you perhaps give me a solution in angular regarding how I can bypass this? Basically, I want the whole thing to show up in full rather than with scrollbars….which seems to happen only if the cache is cleared. Thanks.
adminKeymasterWe support Shadow DOM. Smart is one of the first Web Components libraries and can be used for building Web Components.
To use Smart with LitElement, you can use this approach:
import { LitElement, html, css } from ‘lit-element’;
Smart.EnableShadowDOM = true;
export class SuperElement extends LitElement {
static get styles() {
return css`
`;
}
render() {
return html`
<link rel="stylesheet" type="text/css" href="https://htmlelements.com/demos/source/styles/smart.default.css">
<smart-button>Click me</smart-button>
`;
}
}
customElements.define(‘super-element’, SuperElement);
Regards,
BoykoadminKeymasterIO am not having any luck getting the smart-button in shadowDom picking up shared styles using the method described here:
https://lit-element.polymer-project.org/guide/styles#sharing-styles
What is the ‘smart’ preferred method? or are they not intended to be used in shadowDom?adminKeymasterWell it looks like I have a long day ahead of me. I am following the instructions from lit-element on sharing styles but so far no joy.
https://lit-element.polymer-project.org/guide/styles#sharing-styles
Thanks for getting me facing in the right direction.adminKeymasterAha! Yes thank you that sounds very likely.
adminKeymasterHi,
These files are included in the button module.
smart.button.js in modules is a bundle of the necessary files, one of which is smart.element.js. You may look at the online samples, too.
As far as I see you’re using it with Lit Element which creates a Shadow DOM, then you should add the smart.default.css within that Shadow DOM. Otherwise, as the shadow dom is isolated, that will not allow the outside CSS to style elements in the shadow dom.
Regards,
Boyko -
AuthorPosts