Telerik Forums
Kendo UI for Angular Forum
3 answers
1.1K+ views

Hi!

In my application I need a feature whenever the user changes the windows size, I need to change the grid's height according to this resize event. This way the grid's content will be scrollable and not the entire grid.

My solution works perfectly when the windows height is decreased. The problem occurs if I want to increase the window's height because I don't know how much height does the grid need to display all of his rows (non virtual scroll). Therefore when the grid has for example only 1 datarow, but the available space is much more there will be a lot of empty space between the grid's datarow and the pager.

My question is how can I know that how much height does the grid need to display it's datarows? Or (if it's not possible) how can I avoid the problem which I described before?

Example application:

https://stackblitz.com/edit/grid-auto-height-resize

 

Svet
Telerik team
 answered on 17 May 2019
10 answers
3.1K+ views

Hi,

When filtering on a date column in the grid, the dates are filtered by time as well as by date. This creates a problem when trying to filter with "equals to". 
I can easily remove the time from the date object in the grid and this fixes the filtering.
However, I need to display the time in the date object in the grid. 

How can I  display the date with the time, but filter with a date object without the time?

 

Regards,

Jyothi

Jyothi
Top achievements
Rank 1
Iron
Iron
Veteran
 answered on 16 May 2019
1 answer
165 views

Couple visual issues I've run into.

1.  When you click the button to insert a link, the checkbox for opening the link in a new window overlaps with the next line.  Please see screenshot I took from the documentation example.

2.  When the toolbar wraps to a second line (such as in the screenshot where "Font Name" begins the second row) I think there should be at least a small gap between the 2 rows.  This is especially distracting with the Bootstrap theme where items are a little bigger.

 

Thanks.

Svet
Telerik team
 answered on 15 May 2019
2 answers
1.6K+ views

Is there a way to collapse the PanelBar on a button click event? 

I have a panel bar with a grid inside of it. The flow should be that I expand the PanelBar, then click a button inside the grid and the PanelBar collapses. I tried to set the [expanded] property to false on the button click event but it doesn't work. 

Thanks for your help in advance.

Jon
Top achievements
Rank 1
 answered on 15 May 2019
1 answer
134 views
We have implemented the upload control in an Angular application and when we select a file to upload, we get the 'uploaded' text displayed.  Unless the user sets focus on the control, it appears to spin indefinitely.  When we click save, the file does actually upload but it's confusing to the users.  I've attached a screen shot as an example. 
Nathan
Top achievements
Rank 1
 answered on 14 May 2019
1 answer
100 views

Hello kendo community,

I have issues with selection on groups in kendo grid. I am trying to use groups and selection with kendo grid and it seems like the selection event trigger does not work in groups, however the checkbox does not apper to be checked. Is there any other solution or is there a way to select multiple rows which are grouped?

Here is a stackblitz demo: https://stackblitz.com/edit/angular-ujcgdv

Hope there is a fix for this.

Best, Mike

Dimiter Topalov
Telerik team
 answered on 14 May 2019
1 answer
225 views

Looking for clarification of how to use the Angular Material Theme supplied with Kendo UI. 

Do I still need to include Bootstrap 4 for purposes of general layout. i.e. row / column / flex etc...  for non Kendo components.

Is Bootstrap the suggested framework to use with the Material theme.  Should it be Material.  It looks like the Material theme uses a base of the Default theme.  The default theme seems to be based on Bootstrap.

Svet
Telerik team
 answered on 13 May 2019
1 answer
523 views

Is it possible to add a divider/header within the data array?  

Something like.

Item1

-----------------

Header Title

Item2

Hetali
Telerik team
 answered on 10 May 2019
2 answers
2.6K+ views

Hi,

When opening a <kendo-dialog> the background is still scrolling.

The work around I found is to set the <body> with an overflow:hidden.

But how to automate this generally for all my modals?

Since this is a modal, I think the kendo-dialog should be disabling the body scrolling.

Any workaround to fix this?

Thanks.

 

Patrick
Top achievements
Rank 1
 answered on 08 May 2019
1 answer
165 views
Is there an example somewhere of using the selectBy so that the selectionChange event handler is passed a dataItem (or context.dataItem)? I have seen this capability alluded to in some articles, but I have not been able to find examples or get it to work for me. Thank you.
Dimiter Topalov
Telerik team
 answered on 08 May 2019
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?