The SCSS files from the kendo-theme-material contain !important rule, that makes it difficult to override the styles in the consuming application.
We have a requirement to customize the DatePicker Kendo React component so that it has a border around all 4 sizes, as by default the theme has the border only on the bottom.
We have applied a new custom style to k-picker-wrap and added the
border-top-color: $datetime-border !important;
style
But due to the !import rule in the file
@progress\kendo-theme-material\scss\datetime\_layout.scss, line 15
the custom style that we applied in the consuming application does not get applied.
Please find screenshots with the details of the problem.
The screenshots indicate that the custom style for the border-top-color did not get overriden, and the box is missing the top border.
Kindly advise approach that we can use to customize the CSS styles that has !important CSS rule, so that we can override the styles defined in the material theme.
Hi There,
This is the kendo ui for jQuery scheduler we use in our older version of product. Note that the resources are across the top, and dates down the side.
We have switched to react and we want similar view. This is the closest we can get.
The resources are on left hand side so we cannot see all the resources.
Kendo-ui for jQuery has an additional boolean property ‘date’ (https://docs.telerik.com/kendo-ui/api/javascript/ui/scheduler/configuration/group) which groups the view by date down the left hand side, and resources across the top. There is no alternate property available in kendo-react-ui which will result in same appearance as it does in kendo-ui.
We are using kendo scheduler version 4.0.0.
Is there any way to achieve this? Do we have to implement a custom view? If so how?
- Papiya
The DatePicker component has a `toggleButton` prop which we use for customisation, but this prop is missing from DateTimePicker and TimePicker, this makes an inconsistent API and is frustrating for us because we cannot easily apply the same customisation to them.
Please can you add `toggleButton` prop to DateTimePicker and TimePicker.
The width of the Kendo React DatePicker can become small due to the container width.
In such case, consider the following use case
Users select the date part (year) and start incrementing it by the "up" key. The year date part is selected, but is partially visible,
and the users do not see the date part that they are currently modifying, while they can fully see the other date parts that are not currently in focus.
The DateInput needs a horizontal scrolling to ensure that a focused date part is fully visible to the users in case if the width of the component is narrow.
Please check the case here
https://stackblitz.com/edit/react-8dqy6j-gvgwtk?file=app%2Fmain.jsx
The className prop on the ChipList component is ignored in version 3.18.0. A simple addition of class strings does not appear in the compiled product, e.g.
return (
<ChipList
className='flex-layout --wrap --end'
data={chipData}
onDataChange={onDataChange}
chip={props => (
<Chip removable removeIcon='k-i-close' {...props} />
)}
/>
)
I've looked through the transpiled source in node_modules, and it seems the className property passed to the React.createElement() function totally ignores the prop class names.
Hi,
I'm using the NumericTextBox to receive a value stored in a state, it has a percent "p3" format so it display numbers like this "0,000 %". When the state change, the value displayed in the NumericTextBox loses its format. If I click in the field and press space or any other key, the format comes back. The expected result was the NumericTextBox always keeping the format, what can be done in this situation?
NumericTextBox code
This is the textbox when I change the value direct in the field, it works fine
The state is shared between 2 NumericTextBox. if I change the value in the other textbox, it loses the format in this textbox
If I go in this textbox and just hit space, the format comes back
What can be done to keep the textbox format?
Thank you
I noticed that the value prop of the TextAreaChangeEvent is defined as string | number | string[].
When will this value be number or string[]?
Won't it always be string due to the fact that it's a text area input?
Description:
When the NumericTextBox is set to "c0" format and has a value of 0 ($0), it doesn't capture the first digit entered.
Reproduction Steps:
Browser:
Chrome -- Version 89.0.4389.114 (Official Build) (64-bit)
Expected Behavior:
Observed Behavior:
Notes:
Code Snippet:
<NumericTextBox format="c0" />
Description:
When typing into a React autocomplete with the "suggest" prop, the component does not always display the suggestion in the dropdown. It appears that in Chrome, only the very top of the suggestion is visible in the dropdown, while in Edge, it isn't at all.
Reproduction Steps:
Browser:
Expected Behavior:
Observed Behavior:
Screenshots:
Chrome:
Edge:
Step by step instructions on how to reproduce the problem
Try entering a negative value in the filter column using the StackBlitz example here https://stackblitz.com/edit/react-dx7cna?file=app/main.jsx
This works using "ES" as locale (your example) https://stackblitz.com/run/?file=app/main.jsx
Github issue here https://github.com/telerik/kendo-react/issues/897
DateTimePicker opens above or below the link to open it, however when it's in the middle of a page, it will choose to open below and sometimes require scrolling to see all the buttons.
Would be better, if it were to open offscreen, it should be "pinned" to the bottom edge. Same for right/left/top borders of the screen.
Certain containers also make it impossible to scroll down to see the buttons, so that creates a real problem. The above proposal would fix this.
using fairly vanilla implementation of the component:
<DateTimePicker
defaultValue={new Date(ActivationDate.toString())}
onChange={handleActivationChange}
width={'8rem'}
/>
The Tooltip component has a className property. Providing a class name there does not seem to apply the class to the DOM element. See my below code and attached screenshot ...
<div className="col">
<label className="d-block">Name</label>
<Input value={name} required={true} onChange={handleNameChange} />
<Tooltip className="d-inline">
<i className="k-icon k-i-info" title="The name of the Taxonomy" />
</Tooltip>
</div>
Hi there,
Im use chart component, and sometimes the tooltip on grid disappear, i dont know why, and if i put the same code on the telerik this bug doesnt happen, here is an exemplo with the same data
import * as React from 'react'
import * as ReactDOM from 'react-dom'
import {
Chart,
ChartSeries,
ChartSeriesItem,
ChartCategoryAxis,
ChartCategoryAxisItem,
ChartTitle,
ChartLegend,
ChartTooltip,
ChartValueAxis,
ChartValueAxisItem
} from '@progress/kendo-react-charts';
import 'hammerjs';
const valueAxis = [
{
name: "",
format: "{0:n1}",
font: "10px Roboto",
},
];
const seriesValues = [
{
type: "bar",
toolTipFormat: "{0:n2}",
title: "Teste 1",
spacing: 1,
data: [27869.8616],
},
{
type: "bar",
toolTipFormat: "{0:n2}",
title: "Teste 2",
spacing: 1,
data: [13277.95],
},
{
type: "bar",
toolTipFormat: "{0:n2}",
title: "Teste 3",
spacing: 1,
data: [95164.9968],
},
{
type: "bar",
toolTipFormat: "{0:n2}",
title: "Teste 4",
spacing: 1,
data: [115579.184],
},
{
type: "bar",
toolTipFormat: "{0:n2}",
title: "Teste 4",
spacing: 1,
data: [null],
},
{
type: "bar",
toolTipFormat: "{0:n2}",
title: "Teste 4",
spacing: 1,
data: [616.7145289747288],
},
];
const ChartContainer = () => (
<Chart>
<ChartTooltip
shared={true}
/>
<ChartValueAxis>
{valueAxis.map((e, idx) => (
<ChartValueAxisItem
key={idx}
name={name}
labels={{
visible: e.visible !== undefined ? e.visible : true,
format: e.format,
rotation: "auto",
font: e.font,
}}
/>
))}
</ChartValueAxis>
<ChartSeries>
{seriesValues.map((item, idx) => (
<ChartSeriesItem
key={idx}
type={item.type}
data={item.data}
name={item.name}
spacing={item.spacing}
labels={{
font: '10px',
format: "{0:n2}"
}}
/>))}
</ChartSeries>
</Chart>
);
ReactDOM.render(
<ChartContainer />,
document.querySelector('my-app')
);
I inspected the page and realized this, that div is the tooltip and thats working normally, k-animation-container-show class, top and left properties on style;
and this one, is the tooltip that doest appear in the screen, does not have all class and style, just doesnt show up,
However, the component inside that div was rendered, as can you see
Im using this version
Hi,
I was just running through the new features of KendoReact 2021 R2 and am very keen to start implementing.
One of my colleagues pointed out that there is an ellipses after each checkbox when using checkboxes under Grid Selection, see https://www.telerik.com/kendo-react-ui/components/grid/selection/#toc-customizing-the-selection). It sees this is the casein MS Edge and Chrome. I use Firefox, so didnt notice it.
Thanks for the new features, keep it up.
Regards,
Grant
It's annoying because:
1) Every time I go to a new page or refresh my browser it comes up bright yellow
2) It blocks the search bar which I use a lot
3) The seminar is over which just annoys me more
I'm OK if you want to tell me once like a privacy notice, but don't tell me every time my web page refreshes and overwrite part of the page.
Dear Support Team,
I have numbers of kendo charts in my app, but I need to modify the boder-radius for the tooltip of my donut chart.
I've checked, with the browser, the existence of a couple of CSS classes I can work on, but they are generic and they work for all the charts in the app:
.k-sparkline-tooltip-wrapper>.k-popup, .k-chart-tooltip-wrapper>.k-popup (classes for the ChartTooltip component: for this I can ad an ID)Inside this component the Kendo library creates a new component, which I can't configure any IDs on and owns the css class k-chart-tooltip k-chart-tooltip-inverse needed to override the border-radius property.
Is there a workaround or any other configuration to set the border radius for a tooltip of a single chart, without modify all other charts in my app?
Thank you
Kind regards