@boikom
@boikom
Forum Replies Created
-
AuthorPosts
-
admin
KeymasterHi Peter,
defining the dataFields like that didn’t work for me in the Smart.DataAdapter. Even without the mapping. The only way it worked for me wasdataFields: [ 'name:type', 'name:type' ]
But I don’t see a way to do the mapping defining it like that.
Regards,
Gerhardadmin
KeymasterHi Fabio,
We are aware of that column resize behavior in Firefox and we resolved it in the next release of Smart Grid.
Regards,
Peter
Smart UI Team
https://www.htmlelements.com/admin
KeymasterHi Gerhard Seemann,
Have you tried it by defining the dataFields array as in our jqxDataAdapter like that { name: …, map: …. } The map field defines the sub property mapping.
Regards,
Peter
Smart UI Team
https://www.htmlelements.com/admin
KeymasterHi 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.comadmin
KeymasterHi 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.
Fabioadmin
KeymasterHi Fabio,
I think the error is in this: timeStampGrid.columns = columns;
Best Regards,
Peter
Smart HTML Elements Team
https://www.htmlelements.comadmin
KeymasterHi Christopher,
you can investigate at link
http://sviluppo.vgnetdev.pro/tabelle/timestamp/timestampLista.php
Best regards,
Fabioadmin
KeymasterHi 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/admin
KeymasterHi 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/admin
KeymasterHi,
You should use the “value” not the “label” of the Item.
Example:function selectToyota() { list.ensureVisible("toyota");}
Regards,
Peteradmin
KeymasterHello Martin,
I think that the problem is binding the data source because the grid is empty.
Best regard.admin
KeymasterHi 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/admin
KeymasterHi, 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.
admin
KeymasterWe 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,
Boykoadmin
KeymasterIO 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? -
AuthorPosts