Telerik Forums
Kendo UI for Angular Forum
2 answers
297 views

how to focus on first element of list at open click?

the focus is on bottom

i want to set focus on top of the list when is opened


		#projectmultiselect
		(open)="open(e)"
		(opened)="opened(e)"

 

Tera
Top achievements
Rank 1
Iron
Iron
 answered on 04 Aug 2023
1 answer
255 views

Hi!

I'm using the dropdowntreecomponent with value primitive binding to ngmodel but I get an error when opening the dropdown.

Here is a sandbox showing the error:
https://codesandbox.io/s/empty-field-s3vtcr

ERROR Error: Expected dataItem of type Object to be set. See https://www.telerik.com/kendo-angular-ui/components/dropdowns/api/DropDownTreeComponent/#toc-dataitem

Basically the dataItem is received here as a primitive value and not the complete dataItem.

Thanks

 

Tsvetelina
Telerik team
 answered on 04 Aug 2023
0 answers
129 views
I have a column in the kendo grid that contains years.
are numeric values without decimals.
but when I use filter=numeric and look for a year I get 2 decimal digits.
how can i set the filter without decimals?
Tera
Top achievements
Rank 1
Iron
Iron
 asked on 03 Aug 2023
0 answers
89 views
How do I start the graph of the minimum value among those available. I would like that if the minimum value among those available is -10,000 then the graph starts not from 0 but from -10,000
Tera
Top achievements
Rank 1
Iron
Iron
 asked on 03 Aug 2023
0 answers
85 views

How do I put only and exclusively the value 0 in ase y in bold and different color?

 

Tera
Top achievements
Rank 1
Iron
Iron
 asked on 03 Aug 2023
1 answer
100 views

Hi

I have the following data (just an selection):​

0: Object { myDate: Date Fri Jul 28 2023 17:43:24 GMT+0930 (Australian Central Standard Time), myTime: "17:43", myText: "NOT_OCCUPIED" }
​1: Object { myDate: Date Fri Jul 28 2023 17:32:10 GMT+0930 (Australian Central Standard Time), myTime: "17:32", myText: "OCCUPIED" }
​2: Object { myDate: Date Thu Jul 27 2023 19:50:37 GMT+0930 (Australian Central Standard Time), myTime: "19:50", myText: "NOT_OCCUPIED" }
​3: Object { myDate: Date Thu Jul 27 2023 19:33:46 GMT+0930 (Australian Central Standard Time), myTime: "19:33", myText: "OCCUPIED" }
​4: Object { myDate: Date Thu Jul 27 2023 17:41:13 GMT+0930 (Australian Central Standard Time), myTime: "17:41", myText: "NOT_OCCUPIED" }
​5: Object { myDate: Date Thu Jul 27 2023 16:50:35 GMT+0930 (Australian Central Standard Time), myTime: "16:50", myText: "OCCUPIED" }
​6: Object { myDate: Date Thu Jul 27 2023 15:47:44 GMT+0930 (Australian Central Standard Time), myTime: "15:47", myText: "NOT_OCCUPIED" }

which basically just lists when somebody is at their desk (occupied/not_occupied). This is nothing sinister - just a desk sharing situation :) - we would like visualised when the desks are being used. I would now like to have a chart that on the y axis (vertically) has two entries, occupied and not occupied. The x-axis (horizontally) has the date in 4 hour increments. the visualisation then runs from left to right and when it is occupied (eg. above 17:32 - 17:43) I would like there to be a bar shown i.e. filled, when not occupied then nothing shown. The opposite then for not occupied. Something like a stacked bar chart but only with 'gaps' if that makes sense. 

Something like this just not so ugly :) 


Anybody have any ideas which chart I could use for this

Thank you

Ursus

Yanmario
Telerik team
 answered on 02 Aug 2023
0 answers
89 views

All thes days the ui of it is fine as we can see in document but now the grid ui is not proper .Is there any modification/update?Tried multiple ways but still i could't resolve.Pfa any suggestion would be great.

 "@progress/kendo-angular-grid": "^5.0.2", this is version being used

Ramya
Top achievements
Rank 1
 updated question on 01 Aug 2023
0 answers
91 views

Hey

We use grouping in our kendo angular grid. When we sort on a string like 100005-02, 100005-03, ... It sorts it like: 100005-08, 100005-09, 100005-10, 100005-100, 100005-101, ... 100005-109, 100005-11, 100005-110.

 

How do we fix this? Seems like it doesn't handle these sorts of cases.

Our group is like this: group: GroupDescriptor[] = [{ field: 'field', dir: 'asc' }]; And it still sorts like above.

Bodhi
Top achievements
Rank 1
 asked on 31 Jul 2023
0 answers
137 views
I want to create a component that will contain kendo-toolbar-button. I will use this component within <kendo-toolbar> . When I try to implement it this way the buttons don't appear.

<kendo-toolbar>
 <toolbar-button>
 </toolbar-button>
</kendo-toolbar>

Toobar-button:
    <kendo-toolbar-button [imageUrl]="'assets/delete.png'" [fillMode]="'flat'">
    </kendo-toolbar-button>

It does work when I directly add kendo-toolbar-button to kendo-toolbar. However I would prefer the one above
Danny
Top achievements
Rank 1
 asked on 31 Jul 2023
1 answer
266 views

Is there a straightforward way to render tooltip only if content was overflown? 

.some-element {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
Thanks
Hetali
Telerik team
 answered on 30 Jul 2023
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?