Telerik Forums
KendoReact Forum
6 answers
924 views

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>
Kara
Top achievements
Rank 1
Veteran
 answered on 20 Nov 2019
2 answers
40 views
In kendo inline adding feature when i press the add button mulitple times it generates multiple new rows to add.....is there any way to restrict that?? i.e, If a user click the add button multiple times it should only show one row for adding new data.
Jiyo
Top achievements
Rank 2
 answered on 20 Nov 2019
6 answers
2.5K+ views

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

Brad
Top achievements
Rank 1
 answered on 19 Nov 2019
3 answers
2.1K+ views

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

Stefan
Telerik team
 answered on 19 Nov 2019
1 answer
170 views

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

Stefan
Telerik team
 answered on 18 Nov 2019
10 answers
95 views

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

Stefan
Telerik team
 answered on 18 Nov 2019
1 answer
520 views

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)}
        />

Stefan
Telerik team
 answered on 15 Nov 2019
6 answers
355 views

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

Kiril
Telerik team
 answered on 11 Nov 2019
2 answers
333 views

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.   };
Ruud
Top achievements
Rank 1
 answered on 11 Nov 2019
8 answers
1.8K+ views

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

Matej
Top achievements
Rank 1
Veteran
 answered on 08 Nov 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?