I have a dialog popup with some scheduling options that I have created. For one component I have two radio buttons and each radio button is a set of DropDownLists and NumericTextBoxes. The radio button styling works fine with the NumericTextBox, but with the DropDownList I have problems with the dropdown actually opening. It will flicker when you click on it and you must click it multiple times before it will fully open and stay open. I have added the className="k-radio-label" to the DropDownList and that seems to be where my issue is. Is this a known bug and is there a workaround? The selection of the radio button is working, it just seems to be an issue with the dropdown animation.
Here is a snippet to give you some idea:
<div>
<label className=
"k-form-field display-inline"
>
<span>Every:</span>
<input
type=
"radio"
value=
"repeatWeek"
id=
"rptWeek"
className=
"k-radio"
checked={
this
.state.dayInterval ===
'repeatWeek'
}
onChange={
this
.handleRadio}
/>
<DropDownList
className=
"k-radio-label"
data={weekNumbers}
onChange={
this
.setWeekOfMonth}
defaultValue={weekSelected}
/>
</label>
</div>
Hi, I have a table with dates in a column. I am tryig to filter on the dates but it isnt working.
Please advise.
StackBlitz Link: https://stackblitz.com/edit/react-kmvmur?file=app/main.js
Hi,
I don't see any examples of adding an icon within a input component. I need to be able to put it on the right of left side of icon within the input box. Can someone explain how to do this?
Thaban
Hi
It appears I cannot add schema attrs to 'table' 'table_row' or 'table_cell' tags
Docs shows adding attrs to p tag which works fine.
https://www.telerik.com/kendo-react-ui/components/editor/schema/
Here is an example of my issue forked from the example in docs adding attrs to table tag.
https://stackblitz.com/edit/react-paewaz-lapmmp?embed=1&file=app/main.jsx
Thanks
Hi,
How can I implement both align and angle properties in the rotation property of the labels.
I found the format labels={{ rotation: 'auto' }} on https://www.telerik.com/kendo-react-ui/components/charts/chart/styling/. However, I also want to specify align: "center" - as said to be possible by https://www.telerik.com/kendo-react-ui/components/charts/api/LabelRotation/#toc-angle.
I tried labels={{rotation: {align:"center", angle:"auto"}}} but does not seem to work as labels still remain aligned at the end.
Thanks,
Lara
Im using kendo grid inline editing and one of the field is a Dropdown and i'm able to bind the options inside Dropdown but my problem is i need to pass the id of selected option rather than its name....So how can i achieve that??? Here is my code....
<DropDownList
style={{ width: "100px" }}
onChange={this.handleChange.bind(this)}
value={value}
data={this.state.DataSet1.map(item => item.name)}
/>
The DateRangePicker component adds an element style of `{display: inline-block}` to the `span.k-daterangepicker-wrap` component which prevents me from styling custom `startDateInput`/`endDateInput` components with full width to fill my form.
How can I override this style, or can it be removed from the kendo rendering?
It's too bad there is no render prop that just renders both input components, that would add a lot of flexibility.
Thank you
Hi,
I'm creating a file upload control. I need to use a custom endpoint for uploading, so I created an object for the saveUrl property as described here.This works fine.
Only thing missing is how to handle exceptions, so when a file is rejected by the external service. If the endpoint raises an error, I now resolve to ensure the Upload control stops the Uploading message. But I want the control to stop this message and show the file in red with the error message. See my (simplified) code below. Thanks in advance for your feedback!
01.
const onSaveRequest = (
02.
files: UploadFileInfo[],
03.
options: {
04.
formData: FormData;
05.
requestOptions: any;
06.
},
07.
onProgress: any
08.
): Promise<{ uid: string }> => {
09.
const currentFile = files[0] as UploadFileInfo;
10.
const uid = currentFile.uid;
11.
const file = currentFile.getRawFile();
12.
13.
const saveRequestPromise =
new
Promise<{ uid: string }>(async (resolve) => {
14.
([my external service call]).then((data) => {
15.
// all well, this works
16.
resolve({ uid: uid });
17.
}).
catch
(error=>{
18.
// how to reject so Upload control shows error for this file?
19.
resolve({ uid: uid });
20.
});
21.
});
22.
});
23.
return
saveRequestPromise;
24.
};
Hi,
Is it possible to add custom format setting to GridColumn format prop {0:format}? https://www.telerik.com/kendo-react-ui/components/grid/api/GridColumnProps/#toc-format I need 'en' currency symbol with 'de' number separators e.g. $ 3.400,5