Telerik Forums
KendoReact Forum
1 answer
183 views

Hi guys I am trying to use GridPDFExport component. Use the same exact code as example. got this error.

Wissam
Telerik team
 answered on 09 Mar 2023
1 answer
527 views

Hi team,

I'm trying the example (DropDownList, itemRender) here: https://www.telerik.com/kendo-react-ui/components/dropdowns/dropdownlist/custom-rendering/ but using last react version (18.2.0) the code give an error: 


TS2746: This JSX tag's 'children' prop expects a single child of type 'ReactNode', but multiple children were provided.
    |     const index = itemProps.index;
    |     const itemChildren = (
  > |       <span style={{ color: "#00F" }}>
    |        ^^^^
    |         {li.props.children} {index}
    |       </span>
         );

Work using a cast:


<span style={{ color: "#00F" }}>
        {li.props.children as ReactNode} {index}
</span>

 

Regards

Vessy
Telerik team
 answered on 08 Mar 2023
1 answer
221 views
i have a horizontal bar chart using kendo react chart. can someone help me on setting fix barHeight chartseriesitem ?
Vessy
Telerik team
 answered on 08 Mar 2023
1 answer
822 views
import { ExpansionPanel, ExpansionPanelContent, ExpansionPanelActionEvent } from '@progress/kendo-react-layout';

I am using "@progress/kendo-react-layout": "3.17.0",

When I try to import ExpansionPanel, ExpansionPanelContent, ExpansionPanelActionEvent, I get an error:

Module '"@progress/kendo-react-layout"' has no exported member 'ExpansionPanel'.

Module '"@progress/kendo-react-layout"' has no exported member 'ExpansionPanelContent'.

Module '"@progress/kendo-react-layout"' has no exported member 'ExpansionPanelActionEvent'.

 

Does version 3.17.0 not have ExpansionPanel, ExpansionPanelContent, ExpansionPanelActionEvent?

Is there anywhere in the docs that describes what is/is not in 3.17.0. I get similar errors trying to use DrawerSelectEvent.

It's frustrating not knowing what I can use.

 


 

Wissam
Telerik team
 answered on 07 Mar 2023
1 answer
581 views

I have clear fresh project initialized with Vite. I'm trying to add KendoReact, but there are problems:

npm install --save @progress/kendo-react-all
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: my-react-app@0.0.0
npm ERR! Found: @progress/kendo-react-popup@5.11.0
npm ERR! node_modules/@progress/kendo-react-popup
npm ERR!   peer @progress/kendo-react-popup@"^5.0.0" from @progress/kendo-react-all@5.11.0
npm ERR!   node_modules/@progress/kendo-react-all
npm ERR!     @progress/kendo-react-all@"*" from the root project
npm ERR!   @progress/kendo-react-popup@"5.11.0" from @progress/kendo-react-buttons@5.11.0
npm ERR!   node_modules/@progress/kendo-react-buttons
npm ERR!     peer @progress/kendo-react-buttons@"^5.0.0" from @progress/kendo-react-all@5.11.0
npm ERR!     node_modules/@progress/kendo-react-all
npm ERR!       @progress/kendo-react-all@"*" from the root project
npm ERR!     peer @progress/kendo-react-buttons@"^5.0.0" from @progress/kendo-react-conversational-ui@5.11.0
npm ERR!     node_modules/@progress/kendo-react-conversational-ui
npm ERR!       peer @progress/kendo-react-conversational-ui@"^5.0.0" from @progress/kendo-react-all@5.11.0

 

Any idea, what's going wrong?

Vessy
Telerik team
 answered on 07 Mar 2023
1 answer
145 views

Hii

want to change end date by expandin task bar. and drag event also.

is it possible.

please let me know as soon as possible

 

Vessy
Telerik team
 answered on 07 Mar 2023
1 answer
855 views

Greetings,

I'm trying to set the height dynamically according to the size of the content using "height: auto" but it's not working.

I need the text to fit inside the content without exceeding below the actions section.

Is there a way to solve this issue? Please help, thanks!

 

Best Regards,

Jason Li

Vessy
Telerik team
 answered on 06 Mar 2023
1 answer
570 views

Hi Team,

I want to get the date range of the current view whenever the scheduler component loads and whenever the user changes the view or changes the date by the navigation button (next, prev, date picker). I need to know the start and end date which is visible on the scheduler. I am able to know the view name by using onViewChange callback and default date by using onDateChange which is giving me the default selected date but I want the whole range (start to end), I am using class-based components.

Scenario: Currently selected view is the month view and the default date is in the month of Feb 2023 so I need something which gives me the start date as Jan 29, 2023, and the end date as March 04, 2023.

Just like In the Jquery version of the scheduler, we get the required information by using the following function:

function scheduler_view_range(e) {
        var view = e.sender.view();

        // The view has:
        // A startDate method which returns the start date of the view.
        // An endDate method which returns the end date of the view.

        $(".console").append("<p>" + kendo.format("view:: start: {0:d}; end: {1:d};", view.startDate(), view.endDate()) + "</p>");
    }
Wissam
Telerik team
 answered on 28 Feb 2023
1 answer
175 views

Hi.

I am working with the Scheduler component and I display the WeekView in full day mode. Is there a possibility, that I can somehow achieve to automatically scroll to the work hours when the Scheduler opens? (see attached screenshot)

I know that I can limit the view to show the work hours only but that is not what I want. I just would like to achieve that our users don't have to scroll down everytime the Scheduler opens to see the work hours. Same behavior would be desirable in DayView.

Any help would be appreciated.

Thanks,

Bernd

Konstantin Dikov
Telerik team
 answered on 28 Feb 2023
1 answer
233 views

After server-side validation, I am calling forceUpdate() to update the UI.

But, this isn't "wired" to the FormSubmitClickEvent isValid - or at least not in the same time frame as the onStep function.

Is there a way to tie server-side validation in with FormSubmitClickEvent isValid? Since this process is asynchronous, I'm guessing it will be challenging.

 

... Called after server-side validation to update the UI - this works

setTimeout(() => {
formRef.current.forceUpdate();
});

 

... Called when user clicks the "next" button on the multi-step screen

const onStepClick = React.useCallback(
(event: FormSubmitClickEvent) => {
Filip
Telerik team
 answered on 27 Feb 2023
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
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
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?