Telerik Forums
Kendo UI for Angular Forum
0 answers
120 views

Hi,

scheduler event replan causes scroll to top or bottom. When I drag and drop event between columns sometimes myview scrolls to top or to bottom. I haven't found any bug fixes in changelog or any forum posts which describes this issue.

It happens inside:

<kendo-scheduler-timeline-week-view></kendo-scheduler-timeline-week-view>

 

Is that bug sounds familiar? Can it be fixed easliy?

Packages inside this project:

Angular 13.3

rxjs 7.5.5

typescript 4.6.3

Scheduler 4.3

 

 

Dawid
Top achievements
Rank 1
 asked on 07 Jun 2023
0 answers
317 views

Hi,

https://www.telerik.com/kendo-angular-ui/components/dialogs/window/service/#toc-window-close-prevention

I want to open another component with the window service as described in the example above and want to trigger preventClose from inside the component by clicking on another button,

Like this:

https://stackblitz.com/edit/angular-vweamx

Inside the form.component in onConfirmAction window.close() is triggered but not preventClose. Is there any way to achieve this?

 

Goal would be to add an additional "cancel" button inside those dialogs, so preventClose should be triggered here just like the normal "x" of the dialog.

Vanessa
Top achievements
Rank 1
 asked on 07 Jun 2023
0 answers
179 views

I have a custom control that is wrapping the Kendo MaskedTextBox. The template looks like:

<kendo-maskedtextbox
    [id]="id + '_kendo-maskedtextbox'"
    [ngClass]="{ 'error-style': this.isError }"
    class="default-style"
    [(ngModel)]="value"
    [mask]="textboxMask"
    [rules]="rules"
    [maskValidation]="maskValidation"
    [rules]="rules"
    [fillMode]="fillMode"
    [rounded]="rounded"
    [size]="size"
    [disabled]="disabled"
    [style.width.px]="width"
    [includeLiterals]="includeLiterals? true : false"
    (blur)="onBlur()"
    (focus)="onFocus()"
    (valueChange)="onValueChange($event)">
</kendo-maskedtextbox>

What I have found when I have the includeLiterals input binding my value stored in value gets cleared out, but if I do not have this input present on the masked textbox, the value is left alone and works as expected. This seems like there is a bug in the code for the control, that is causing this. My only work around is to not have that input binding present in my codes template so the rest of my controls work as expected, but I need to have the includeLiterals so that I can have the literals part of the value when it is updated by the user.

To reproduce, create an component that wraps the masked textbox input, ensure that component implements the ControlValueAccessor interface and has a provided defined for it. Then on another page use that component and pass in the value you want for it via ngModel.

I have tried this with out the control being wrapped in the other control and it works without any issue, but I need it wrapped to provide a uniform experience for the rest of my application and reduce any duplicated code.

Don
Top achievements
Rank 1
 asked on 06 Jun 2023
1 answer
128 views

Hello, I followed the instructions in that forum to make this graph, but now I would like to know what to do so that an element, whether at the beginning, middle or end, has a minimum space so that these things do not happen. (and also center the numbers since I decrease the height in half to make it look thinner.)

https://www.telerik.com/forums/100-stacked-bar-chart-with-rounded-ends 

 

 

 

Camilo
Top achievements
Rank 1
Iron
 answered on 06 Jun 2023
1 answer
195 views

Hi, I'm trying to use `kendoButton` directive as a hostDirectives, but only support standalone directives., any plan to update kendo directives to standalone ? 

@Component({
selector: 'wrapper-button',
standalone: true,
hostDirectives: [
kendoButton,
//other directives
],
template: `
<button></button> `,
imports: [
ButtonModule
]
})
Yanmario
Telerik team
 answered on 01 Jun 2023
1 answer
480 views

 

 

Hi Team,

I am referring this example to implement stacked column chart using a complex array object. It is rendering the chart, but it is not rendering the column with multi colors as shown in the example.

Excpected:

Actual:

Please refer the below the code snippet and the data which I am trying to bind and help me in correcting the code/data to render the expected chart output.

Code:

 <kendo-chart>
 <kendo-chart-series>
 <kendo-chart-series-item type="column" [stack]="true" *ngFor="let item of items" [data]="item" field="bandValue" categoryField="category">   </kendo-chart-series-item>
 </kendo-chart-series>
 </kendo-chart>

Data:

items = [
    [
      {
        category: 'TATA',
        bandValue: 1,
      },
      {
        category: 'TATA',
        bandValue: 4,
      },
      {
        category: 'TATA',
        bandValue: 7,
      },
    ],
    [
      {
        category: 'FORD',
        bandValue: 1,
      },
      {
        category: 'FORD',
        bandValue: 4,
      },
      {
        category: 'FORD',
        bandValue: 9,
      },
    ],
    [
      {
        category: 'GM',
        bandValue: 1,
      },
      {
        category: 'GM',
        bandValue: 4,
      },
      {
        category: 'GM',
        bandValue: 3,
      },
    ],
  ];

 

Thanks!

Martin Bechev
Telerik team
 answered on 01 Jun 2023
1 answer
216 views

Hi Team,

I have used entire code as per below example. I used the same dummy code also.

https://www.telerik.com/kendo-angular-ui/components/knowledge-base/select-all-multiselect/

 

Select All/Deselect All is not working via  control+A. However, it is working via click event on checkbox. Remaining feature in multiselect checkbox is working fine. I am using kendo license version. Can you please help me to fix this issue?

You can contact me at v-nehsaxena@microsoft.com

Thnaks,

Neha

Hetali
Telerik team
 answered on 30 May 2023
2 answers
168 views

Hello everyone, I currently have this graphic and I am trying to round the labels that are with a blue border so that they are more like the round buttons in the second image.

 

 

Martin Bechev
Telerik team
 answered on 29 May 2023
0 answers
207 views

I have a grid with a selectionChange handler. Now I'm trying to add a double click handler to trigger some behavior when the user double clicks a row in the grid. The double click handler works fine when I double click on the already-selected row, but when I double click on a different row, the selectionChange handler is triggered and the double click event seems to be swallowed. Even when I turn on a dblClick event breakpoint in Chrome devtools, it's never hit when I double click on an unselected row.

What's the best way to have both a selectionChange handler and a double click handler on grid rows?

Max
Top achievements
Rank 1
 asked on 24 May 2023
2 answers
227 views

I am utilising the Kendo Uploader which is hitting a .net Frameworks api. The endpoint saves the file and then using the Telerik Doc library will open the uploaded spreadsheet and a validation begins where each row is validated against a set of rules. If any row fails to validate then details of the failure are recorded as a list. Once all rows have been checked the error list is returned as a json response. If the sheet validates without error the code will then save each row as a new record and return a json result confirming the number of records saved or if saving fails then an error as a json result.

I need to be able to process the json response on the client side via the onSuccess or onError events or some other way. Is this possible

Many Thanks

Martin Bechev
Telerik team
 answered on 23 May 2023
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?