@boikom
@boikom
Forum Replies Created
-
AuthorPosts
-
February 15, 2021 at 7:49 am in reply to: smart-check-box and Angular reactive form – how to set value? #101501adminKeymaster
Hi davout,
If you think that you have found an error, then please share an example, which we will be able to run, and instructions to reproduce the issue.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/adminKeymasterHi Walter,
The component works with the Javascript Date object for dates, which is the native way to handle date operations in javascript. That means that when you set a String we will donew Date(your string).
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/February 15, 2021 at 6:41 am in reply to: smart-check-box and Angular reactive form – how to set value? #101498adminKeymasterHi davout,
1. The error message means that a String is expected.
2. We have 1 checkbox component.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/adminKeymasterHi davout,
You can use the “nullable” property in your component.
Please, take a look at this code snippet:<smart-date-time-picker [autoClose]="true" [calendarButton]="true" [dropDownPosition]="'bottom'" [dropDownDisplayMode]="'calendar'" [formatString]="'dd-MM-yyyy'" [nullable]="true" [placeholder]="'From'" [autoClose]="true" [value]="null"></smart-date-time-picker><smart-date-time-picker [autoClose]="true" [calendarButton]="true" [dropDownPosition]="'bottom'" [dropDownDisplayMode]="'calendar'" [formatString]="'dd-MM-yyyy'" [nullable]="true" [placeholder]="'To'" [autoClose]="true" [value]="null"></smart-date-time-picker>
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/adminKeymasterHi MilesGibson,
1. The id here represents a property of the Event in the specific resource. It is not necessary to be unique id in this case.
2. No, it is not currently possible to modify the template for Scheduler Events.
3. The blazor-demos/pages folder contains the Scheduler Blazor page.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/adminKeymasterHi Walter,
Thank you for the feedback.
As a workaround, you may add this CSS.smart-number-input[disabled] .nav .up,.smart-number-input[disabled] .nav .down { pointer-events: none;}
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/adminKeymasterHi,
It seems that in 9.1.0, the column property is “hidden”, not “visible. You can use it like that:columns: [ { label: 'id', hidden: true, dataField: 'id', dataType: 'number' }, { label: 'Product Name', dataField: 'productName', dataType: 'string' }, { label: 'Quantity', dataField: 'quantity', dataType: 'number' }, { label: 'Price', dataField: 'price', dataType: 'number' }, { label: 'Date Purchased', dataField: 'date', dataType: 'date' } ]
After the next release, change it to “visible” and set it to false. “hidden” will be deprecated.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/adminKeymasterDo you use the latest version?
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/adminKeymasterHi Johnny Johnny,
With CSS this is not possible. In the script code, you can use the Table column’s “visible” property and set it to false.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/February 9, 2021 at 11:22 am in reply to: with batch:true how can access to data.fields in news rows #101463adminKeymasterHi chips,
This is an empty row as far as I see. It does not have id or any data added to it. When you edit it, it will have different values.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/February 9, 2021 at 7:54 am in reply to: smart-date-time-picker and Angular reactive form setvalue #101460adminKeymasterHi davout,
The DatetimePicker works with Javascript date objects.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/adminKeymasterHi edwardsmarkf,
I think that it is fine as a workaround for this Combobox usage.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/adminKeymasterHi,
The example shows how to set the dropDownWidth i.e change the drop down size, when you open it. Do you try to achieve something else?
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/February 9, 2021 at 7:32 am in reply to: with batch:true how can access to data.fields in news rows #101456adminKeymasterHi chips,
If there are updates in cell values, they will be stored in the ‘updated’ array. It contains all changed cells information. Each value in that array is a cell object with id, dataField, oldValue and newValue properties.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/adminKeymasterHi Cetin Sert,
Thank you for the report.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/ -
AuthorPosts