Telerik Forums
KendoReact Forum
3 answers
2.5K+ 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
248 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
146 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
636 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
520 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
443 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
2.1K+ 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
2 answers
1.4K+ views

Hiii, I'm using Kendo Grid to populate datas from api. And in my case i have a field called Active in my kendo column which has value Y/N. So my problem is i need to conditionally display the values like if the value is Y it should show Yes in my column and if its N it should show No.

Jiyo
Top achievements
Rank 2
 answered on 08 Nov 2019
1 answer
260 views

Hi All,

         In my kendo react grid i am doing in inline edit.  When i click row edit button row colum converting to  edit mode and  showing two button save and discard. if i click save it will save to database. If i click discard i want to  display old value(if i typed anything) in grid. How can i achieve this?

Stefan
Telerik team
 answered on 07 Nov 2019
1 answer
283 views

Hi,

In my application i am listing personal data in kendo grid  with edit and delete feature each and every row. Here my requirment is if age > 50 i don't want to show delete
button in that row. How can achieve this with react Js?

Stefan
Telerik team
 answered on 07 Nov 2019
Narrow your results
Selected tags
Tags
General Discussions
Grid
Wrappers for React
Charts
Scheduler
Filter 
DropDownList
Form
DatePicker
Styling / Themes
Editor
TreeList
Styling
PDF Processing
ComboBox
Excel Export
Dialog
Input
TreeView
Upload
Drawer
Button
Drag and Drop
MultiSelect
Tooltip
Accessibility
NumericTextBox
Checkbox
Menu
Gantt
DateTimePicker
PDF Viewer
Popup
Window
AutoComplete
DateInput
Sortable
Data Query
Licensing
TabStrip
Drawing
Calendar
Pager 
Labels 
Localization
TimePicker
GridLayout
FontIcon
Animation
PanelBar
TaskBoard
PivotGrid
Card
DropDownButton
Conversational UI 
DateRangePicker
Splitter
Badge 
Security
Slider
Spreadsheet
ContextMenu
MultiViewCalendar
Stepper
MultiColumnComboBox
MultiSelectTree
TextBox
AppBar
File Saver
ListView
MaskedTextBox
RadioButton
Switch
TextArea
Toolbar
DropDownTree
TileLayout
Map
Avatar
Date Math
Gauge
RadioGroup
RangeSlider
Rating
Loader
ExpansionPanel
SvgIcon
Typography
ProgressBar
ScrollView
Popover
StockChart
RadialGauge
Server Components
AIPrompt
Page Templates / Building Blocks
AI Coding Assistant
Chat
ColorGradient
ColorPalette
ColorPicker
Notification
Ripple
Skeleton
ButtonGroup
Chip
ChipList
FloatingActionButton
SplitButton
ActionSheet
Barcode
QR Code
FlatColorPicker
Signature
BottomNavigation
BreadCrumb
StackLayout
Timeline
ListBox
ChunkProgressBar
Sparkline
FileManager
ArcGauge
CircularGauge
LinearGauge
ExternalDropZone
OrgChart
Sankey
VS Code Extension
InlineAIPrompt
SpeechToTextButton
Chart Wizard
Agentic UI Generator
SmartPasteButton
PromptBox
SegmentedControl
LLM Kit
OTP Input
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?