@ivanpeevski
@ivanpeevski
Forum Replies Created
-
AuthorPosts
-
ivanpeevskiParticipant
Hi Patrick,
The Blazor CSS Isolation works by attaching a random attribute to the HTML element that works as a selector. However, our controls are generated dynamically and then selector key is lost. The trick is to wrap the blazor controls in a normal HTML element such as div, span or p. In this way, the selector key will be attached to the wrapper HTML and the inner controls will remain selectable. For example:
parent.razor:
<Child/>
child.razor:
<div><Button>Test</Button></div>
child.razor.css:
::deep smart-button {
background: red;
}OR(if you wish to be more specific):
div ::deep smart-button {
background: red;
}This creates a red button. I hope this was of help!
Please feel free to contact us again, if you need further support
Best Regards,
Ivan PeevskiSmart UI Team
https://www.htmlelements.com/- This reply was modified 1 year, 5 months ago by ivanpeevski.
- This reply was modified 1 year, 5 months ago by ivanpeevski.
ivanpeevskiParticipant<div class=”bbp-voting bbp-voting-post-103791 view-only bbp-voting-float”></div>
Hi salasidis,The X axis in the demo looks crowded because xAxis -> unitInterval is set to 1. This forces the chart to show every single x Axis element. If you remove that, it will be automatic and will update the distance between the labels.
Best Regards,
Ivan PeevskiSmart UI Team
https://www.htmlelements.com/ivanpeevskiParticipantHi,
It is implemented in the same way.
See the code for the demo here: Area Range and Line Series
Best Regards,
Ivan PeevskiSmart UI Team
https://www.htmlelements.com/ivanpeevskiParticipantHi Blago,
Thanks for the additional details!
I am seeing a 403 Forbidden message for the images. However the code was useful to reproduce your implementation.
This is indeed an issue with the Scheduler, I have opened a work item for it and we will work on fixing this for our next releases.
As a workaround, you can dispatch a ‘resize’ Event, which will force the Scheduler to re-render its cells and remove the grouping cell.
You can have a look at a demo here: codepen
I hope this will be of help! If you have any further questions, feel free to contact us again.
Best Regards,
Ivan Peevski
Smart UI Team
https://www.htmlelements.com/ivanpeevskiParticipantHi salasidis,
Yes, you can use displayText for that. For example:
{dataField: ‘A’, displayText: ‘Average’, ….}
You can also see an example in the demo here: Stacked Line Series
Best Regards,
Ivan PeevskiSmart UI Team
https://www.htmlelements.com/ivanpeevskiParticipantHi salasidis,
You can have a look at the code for the Live Update demo.
You can just push the next month data one by one in the dataSource, but the chart will draw them only if you call chart.update() after that
Best Regards,
Ivan PeevskiSmart UI Team
https://www.htmlelements.com/ivanpeevskiParticipantHi Gilles,
Unfortunately, this is not supported.
All row details must be the same height. You can only adjust the size of the elements inside the row detail
Best Regards,
Ivan Peevski
Smart UI Team
https://www.htmlelements.com/ivanpeevskiParticipantHi BLaGO,
Currently, only the resources property has a change listener, and not any of the properties of its items. So the only way to force a refresh on the header is to ‘refersh’ the resources property.
So similar to the demo here: Scheduler Resources, you need to first copy the resources[0] object to a new variable and change its dataSource. Then set resources to a new array containing the update object.For example:
let newResourceObject = document.querySelector(‘smart-scheduler’).resources[0];
newResourceObject.dataSource = [];
document.querySelector(‘smart-scheduler’).resources = [newResourceObject];Best Regards,
Ivan Peevski
Smart UI Team
https://www.htmlelements.com/- This reply was modified 1 year, 7 months ago by ivanpeevski.
September 29, 2022 at 6:08 pm in reply to: Query Builder is not working if the value is having special characters in query #103777ivanpeevskiParticipantHi Pavan,
Thanks for the feedback! We will further investigate the issue and fix it for our next releases.
Until then, the best workaround is to set value as an array like our demo here
Best Regards,
Ivan Peevski
Smart UI Team
https://www.htmlelements.com/September 7, 2022 at 10:47 am in reply to: Date time calendar tab header undefined in italian #103652ivanpeevskiParticipantHi,
After you set the locale, you should use the messages property to set the translations of dataTabLabel and timeTabLabel
Please see the example here: DateTimePicker locales
The first day of the week can be changed with the firstDayOfWeek property. You should set it to “1” for Monday.
Best regards,
Ivan PeevskiSmart UI Team
https://www.htmlelements.com/ivanpeevskiParticipantHi Dark Beccio,
You can achieve this with some CSS.
smart-input input{
text-transform:uppercase;
}Please note that this is only a visual change and doesn’t change the actual value of the input.
Best regards,
Ivan Peevski
Smart UI Team
https://www.htmlelements.com/ivanpeevskiParticipantHi Dark Beccio,
Currently there is no other property to control this.
I have created a work item and we will evaluate this as a new feature in a future release.
Best regards,
Ivan Peevski
Smart UI Team
https://www.htmlelements.com/ivanpeevskiParticipantHi,
In this case, please see the example here: codepen
If the row was deleted with the delete command button, you can use the onCommand callback function to get the row index before it was deleted. It also allows you to cancel the row delete operation by setting command.handled = true;
Best Regards,
Ivan Peevski
Smart HTMLElements Team
https://www.htmlelements.com/ivanpeevskiParticipantHi Martin,
Tooltips are enabled with the appearance.showTooltips property.
By default, the value of the tooltip is the value of the cell. Using the cell’s tooltip property allows you to set custom content.
See an example here: codepen.
Best Regards,
Ivan Peevski
Smart HTMLElements Team
https://www.htmlelements.com/ivanpeevskiParticipantHi,
The onRowRemoved callback function is used for that.
Please note that it is set as a property, and not as an Event.
You can see an example here: codepen. The indexes of the row will be console logged.
Best Regards,
Ivan Peevski
Smart HTMLElements Team
https://www.htmlelements.com/ -
AuthorPosts