Hello all,
I have a simple grid with a default sort defined on the redux store. It works perfectly fine on load but when I try to change de the sortdirection by clicking on the arrow, the eventHandler onSortChange catch an empty array instead of the current sort.
you can see it on the 3 files attached.
Any id why the e.sort array is empty ?
Thank you.
Hello Team,
Actually I want to create dark theme configuration for kendo react by overriding the classnames globally using scss. Suppose below is kendoDark.scss file where I am overriding input text box with background grey color.
@import "~@progress/kendo-theme-bootstrap/dist/all.scss";
.k-input {
background:grey !important;
color: $text-high-emphasis__dt;
}
So In App.js file I have state of dark or light theme like const darkMode = useSelector((state) => state.darkMode);
My problem is I am unable to import this kendoDark.scss file if it is dark theme.
Can you please share me any example.Please help me here.
Has anyone come across this problem where the dropdown options of a dropdown list control renders horizontally opposed to the expected vertical render.
dropdownlist
--> option1 | option2 | option3
instead of,
dropdownlist
--> option1
--> option2
--> option3
I am using kendo react UI with typescript.
This is how I have used the control to start with.
<DropDownList data={["Austria", "Belarus", "Austria1", "Belarus1"]} />
Any help would be much appreciated.
Since upgrading to @4.2.0, I'm getting:
"Warning: Each child in a list should have a unique "key" prop.
Check the render method of `KendoReactGrid`. See https://fb.me/react-warning-keys for more information.
in tr (created by KendoReactGrid)
in KendoReactGrid (created by BatchesGrid)
in BatchesGrid (created by Context.Consumer)"
(This is a snippet of the callstack.)
I haven't been able to reproduce in StackBlitz. I'll try to do more troubleshooting next week. I wasn't sure if you guys were getting it on your end or not.
On a Grid column I have a filter icon that opens the build-in filtering dialog. On that dialog there is a blue button with 'FILTER' for a label. How can i change the color of that button?
I tried to chase it down but was not successful... where can I apply a new class or override an existing one.
thanks in advance,
DavidA
hi all. new to kendo.
i have a simple grid w/pagination, and trying to add sorting. it seems to be working ok except:
1. the event never toggles asc and desc. it's always asc. anybody know why?
2. the little arrows never appear.
tia!
Hi,
The KendoReact Grid renders both general (G) and custom date formats including AM/PM (e.g. dd/MM/yyyy hh:mm:ssa) with lowercase am/pm values. This is in contrast to Kendo documentation e.g. https://github.com/telerik/kendo-intl/blob/develop/docs/date-formatting/index.md. Is there any way to render a datetime value with uppercase AM/PM in a KendoReact grid without using a custom cell and date formatter? We are already using IntlProvider.
Kind regards,
David
Kendo's Form element has an initialValue prop which I can assign an object to. Inputs will use their "name" field to bind to the initialValue object however I am having trouble getting this to work with DropDownLists.
Do DropDownLists work with a form's initial value if indeed the props (data, dataItemKey, textField, and name) are all set. The value of the binded field should match the dataItemKey's field.
Thanks
FloatingLabel returns the k-state-empty class when value is 0. This is a bug as 0 is a valid value, likely due to a conditional on numericValue.
My temporary fix is editorValue={numericValue !== undefined && numericValue !== null ? 1 : 0}
You can see the bug in action if you set the numeric value to 0 in this example: https://www.telerik.com/kendo-react-ui/components/inputs/floating-labels/
Thanks.