Telerik Forums
Kendo UI for Angular Forum
1 answer
156 views

Hi Team,

I am using angular Kendo DropDownTree and all the items of the dropdown is expanded. I have a vertical scroll bar in the dropdowntree. I want to know the scroll position of the DropDownTree and after refreshing of the page I need to retain the scroll position. How can I know the current scroll position and retain the scroll position of DropDownTree after refreshing the screen?

Martin Bechev
Telerik team
 answered on 25 Jan 2024
1 answer
77 views

I have a grid that I make a request for and when the number column is selected, it is not displaying the sum in the toolbar.

Here's the example in stackblitz:

https://stackblitz.com/edit/angular-hjbr9g-stgeu8?file=src%2Fapp%2Fapp.component.ts,src%2Fapp%2Fapp.service.ts,src%2Fapp%2Fapp.module.ts

 

Yanmario
Telerik team
 answered on 25 Jan 2024
1 answer
109 views
Hi, I was wondering if it is possible to have a measure assigned as a template for the cell? So, I've set the dimensions and I don't want for my data to calculate anything (like min, max, sum etc), I just want inside the cell to display a dropdown with options. I looked in the documentation but I didn't find anything about this. Thanks!
Martin Bechev
Telerik team
 answered on 24 Jan 2024
1 answer
140 views

Dear community,

how can I style kendo-dropdown component using built-in customization mechanisms?

 

I am using in my application bootstrap stylings for Kendo components. I already saw the customization section. I would like to restyle the basic properties of a dropdown such as (but not limited to)

  • Background color when the dropdown is rendered
  • Padding-inline and padding-block.
  • Font color and size
  • Background color on focus

I hoped that there would be some variables that I could just override, as if in the case of other components such as buttons, inputs, grid, etc.

 

I already tried to override lists, as that seemed to be the most logical thing to me. However, it does not seem to be applicable here. Is such customization possible or do I need to override the styles with custom css?

Thanks for any help.

Peter
Top achievements
Rank 1
Iron
 updated answer on 24 Jan 2024
1 answer
191 views

HI, im using cypress testing framework and the component we use are kendo components, for some reason in the browser testing enviroemtn the grid component drop down menu for an option dose not work, the test clicks the component however it dose not open it.  It works fine when im using the app in dev or production however it dose not in the cypress running env.

 

 

however this then gose back to the first picture i provided and dose not open up the kendo component

 

here is the code im trying to run on it 

cy.get('div[aria-label="Press SPACE to deselect this row."]').find('div.ag-cell-value').eq(0).click({force: true});

 

why is this and how can i fix it so it dose open up in test environment

Yousaf
Top achievements
Rank 1
Iron
 answered on 22 Jan 2024
1 answer
292 views

Hello,

I'm trying to add placeholder text in a multiselecttree element but when nothing is selected I'm not seeing the placeholder text. I'm pretty sure this should be supported, I tried using the same placeholder in a multiselect element and it's working fine.

Am I missing something else here or are placeholders not allowed in multitreeselect?

Here's the code I pulled from the docs site for testing each placeholder: codesandbox_link

Any help is appreciated. Thanks!

https://www.telerik.com/kendo-angular-ui/components/dropdowns/multiselecttree/

Hetali
Telerik team
 answered on 19 Jan 2024
0 answers
159 views

I have function for simulating DragAndDrop, if i use that i see hint but if i change position and drop it's not working.
is this even possible? I use DragTarget and DropTarget Directives

function simulateDragAndDrop(element, destination) {
  const mouseDownEvent = new MouseEvent('mousedown', { bubbles: true, cancelable: true })
  const mouseUpEvent = new MouseEvent('mouseup', { bubbles: true, cancelable: true })
  const mouseMoveEvent = new MouseEvent('mousemove', {
    bubbles: true,
    cancelable: true,
    clientX: destination.offsetLeft,
    clientY: destination.offsetTop + destination.offsetHeight,
  })

  element.dispatchEvent(mouseDownEvent)
  document.dispatchEvent(mouseMoveEvent)
  const hint = document.querySelector('.drag-hint')
  hint.style.left = `${destination.offsetLeft}px`
  hint.style.top = `${destination.offsetTop + destination.offsetHeight}px`
  document.dispatchEvent(mouseUpEvent)
}


Mikalai
Top achievements
Rank 1
 updated question on 18 Jan 2024
1 answer
754 views
How can I stop the background color of a row changing when you hover over it?
Hetali
Telerik team
 answered on 17 Jan 2024
1 answer
128 views

I migrated kendo-angular-grid from 7.4.0 -> 14.2.0 and kendo-angular-menu from 4.0.3 -> 14.2.0 and observe that now the context menu sometimes causes the whole grid to shift upwards and off screen when displayed.  Examples of normal behaviour (good.jpg) and corrupt behaviour (corrupt.jpg) are attached below.  

If you look at the top attribute in the style applied to the kendo-popup (630px), the value is much too high. If I manually reduce it to say 200px (see corrected.jpg attached) then whole grid shifts back down to normal position.

If I console log the originalEvent.pageY value then this is value I see getting set as the top attribute value for the kendo-popup and isn't taking into account the height of the popup and whether placing it here will cause viewport overflow. Whereas when using the earlier versions of your libraries (see above),  if for example the originalEvent.pageY was reported as 772, the top value for the kendo-popup was assigned a value of 317, meaning the popup would always fit in the available viewport and not overflow it.

Can you please investigate and fix.

Martin Bechev
Telerik team
 answered on 16 Jan 2024
1 answer
329 views

Hello,

I have in the past made a parent/Children in AngularJS 1.5.5 using parentId in kendo grid.

this was the result :

Is it possible to obtain the same result in the new angular 17x with Kendo ?

I looked at the documentation but I couldn't find something related to parentId.

 

Kind regards

Zornitsa
Telerik team
 answered on 15 Jan 2024
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?