Telerik Forums
KendoReact Forum
1 answer
741 views
I am trying to stop the NumericTextBox  Scroll Wheel from changing the value in the Text Box.  
Stefan
Telerik team
 answered on 16 Feb 2022
2 answers
975 views

Hello, I have a problem when using DatePicker in the dialog. In the small height screen devices, the DatePicker does not show fully. Please help me if you know how to fix it, thanks!

Khan
Top achievements
Rank 1
Iron
 updated answer on 16 Feb 2022
1 answer
159 views
I'm using react kendo dialog but why am I getting a dark background screen, even though if I inspect the element style of kendo react it's correct.
Please help with the solution
Stefan
Telerik team
 answered on 16 Feb 2022
1 answer
170 views

I'm looking for a usable pattern for putting a <Form> in a <Dialog>. the Submit button should be in the <DialogActionsBar> but I'm not sure how to get the Form's `valid` state outside the form...

Ideally you could do:


<Dialog>
  <Form render={({valid}) => {
      return (
        <FormElement>
          ... some form inputs here ...

          <DialogActionButtons>
            <Button type="submit" disabled={valid}>Submit</button>
          </DialogActionButtons>
        </FormElement>
      );
    }}
  />
</Dialog>

But of course that dos not work because the <DialogActionButtons> ends up being at the wrong place in the DOMso the styling doesn't work right.

-----

You can get the submit button working correctly by using the standard HTML `form` attribute on the `button` like this:


<Dialog>
  <Form render={({valid}) => {
      return (
        <FormElement id="formId">
          ... some form inputs here ...
        </FormElement>
      );
    }}
  />

  <DialogActionButtons>
    <Button type="submit" form="formId" disabled={???}>Submit</button>
  </DialogActionButtons>
</Dialog>

But now there is no way to get the `valid` form prop out to the Button's disabled prop.

 

-----

 

You may think to do:


const [formValid, setFormValid] = React.useState(false);

<Dialog>
  <Form render={({valid}) => {
      setFormValid(valid);

      return (
        <FormElement id="formId">
          ... some form inputs here ...
        </FormElement>
      );
    }}
  />

  <DialogActionButtons>
    <Button type="submit" form="formId" disabled={formValid}>Submit</button>
  </DialogActionButtons>
</Dialog>

but this is technically not valid and will produce a warning/error from React:

"Cannot update a component (`TestComponent`) while rendering a different component (`KendoReactForm`)."

Is there a known pattern for making this work

Konstantin Dikov
Telerik team
 answered on 15 Feb 2022
1 answer
163 views

I want to add a GridColumn with custom field value. I tried creating a html return in a method as a field value but was unsuccessful.

I want to add the Action column and want to have a clickable link as a field.


I want to have a clickable link in the Action column.

Stefan
Telerik team
 answered on 15 Feb 2022
1 answer
1.7K+ views

Hi Team,

I have a upload scenario, where I need to import a data from file type like .xlsx,.xlsm.. and do a validation and bind a data to kendo react  grid directly, Do we have a inbuilt import  function in kendo react grid ? can you please help on that would be helpful.

 

Note: No need to save a data in any server, after the validation, data will be saved from grid.

 

 

 

 

Regards,

Arun

Stefan
Telerik team
 answered on 15 Feb 2022
1 answer
158 views

The full week is always from Sunday to Saturday

https://www.telerik.com/kendo-react-ui/components/scheduler/views/week/
Stefan
Telerik team
 answered on 14 Feb 2022
1 answer
145 views

Hello.

Is there way to use Dropdownlists in filters in the Column Menu in GridColumnMenuFilter? Similar to Jquery? Filter menu customization in jQuery Grid Widget Demo | Kendo UI for jQuery (telerik.com). So that Dropdownlist datasources can be key-text objects.

I read this post: DropDownList as filter not working inside column menu in KendoReact | Telerik Forums. But I need all the functionality, with two dropdowns and logic (and / or.)

Well thank you.

Stefan
Telerik team
 answered on 14 Feb 2022
1 answer
605 views

Hi, 

I am using Kendo react grid in my project. It work fine in my local, but produces the following error on scrolling the grid after build and deployment.

Uncaught TypeError: Cannot read properties of null (reading 'element')
    at p (drag-n-drop.js:84:24)
    at useDraggable.js:149:9
    at HTMLDivElement.<anonymous> (useDraggable.js:217:9)

Why am I getting this error after build and how is it working fine in my local? Please suggest a way to resolve this.

Regards

Mansi

Stefan
Telerik team
 answered on 14 Feb 2022
2 answers
2.8K+ views

Hi,

I have a React app. If I want to build this I get an error

Failed to compile.

./node_modules/@progress/kendo-theme-default/dist/all.css
ParserError: Expected closing parenthesis at line: 1, column 5

 

however, when i check all.css it looks ok.

how can i fix this?


Thank You, Jens
Stephen
Top achievements
Rank 1
Iron
 answered on 13 Feb 2022
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?