Telerik Forums
KendoReact Forum
1 answer
373 views

I am following the most basic example of using the Kendo React Grid from https://www.telerik.com/kendo-react-ui/components/grid/

I am using Webpack to bundle my files.  When I create a project with like the example above, the generated file is at /node_modules/@progress/kendo-react-grid/dist/es/main.js is 1.16 MB in size which is massive.  

My webpack.config.js file looks like

var path = require("path");
module.exports = {
    entry: {
        test: ['./src/test.jsx']
    },
    output: {
        publicPath: "/js/",
        path: path.join(__dirname, "/js/"),
        filename: "[name].js"
    },
    module: {
        rules: [{
            exclude: /node_modules/,
            loader: "babel-loader",
            query: {
                presets: ["es2015", "stage-0", "react"]
            }
        }]
    },
};

This file size makes it debugging in the browser dev tools almost impossible as the browser hangs.

I've used the React wrappers previously, the file sizes were tiny in comparison.

Is this expected or has something gone wrong in my setup?

 

Stefan
Telerik team
 answered on 31 May 2018
2 answers
161 views

I have problem with importing styles into react project using Kendo ui default style template. I have described it in more detail on stackoverflow. 

https://stackoverflow.com/questions/50576958/react-kendo-ui-styles-module-failed-to-parse-you-may-need-an-appropriate-loa

Martin
Top achievements
Rank 1
 answered on 29 May 2018
3 answers
156 views

Hello,

I am having issues with inputs and forms inside of the PanelBar component. Inputs do not allow spaces, and forms cannot be submitted when pressing enter.

My best guess is that the keyboard navigation feature of the PanelBar is preventing these from propagating. Is there a way to turn this off? I didn’t see an option in the docs.

Here’s a link to one of the example plunkers that I modified to show the issue: https://plnkr.co/edit/mgd7FRGLjAvWpEULu883?p=preview


Spencer
Top achievements
Rank 1
 answered on 28 May 2018
2 answers
160 views
 Hi, I noticed if I use the input type pagination that when I progress to the next page that the page number does not change, it stays on 1. It works this way in my app as well as the pagination demo. I haven't seen a way to directly access the page number in order to get it or update it. Is this something that is just not currently available at the moment? Or how would I update the page number?
Kara
Top achievements
Rank 1
 answered on 18 May 2018
1 answer
672 views

Hello,

 

I am currently using kendo's bootstrap 4 and had a question about button theming. How can I change the color of a button to be like the danger colored button as seen here [1]? I tried using the "color" prop that the Button component takes in but it does nothing. I can forcefully change the background through inline styling but was wondering if there was a better approach. I just figured the button styles would be supported by just saying: color=" or color="success"

 

[1] https://getbootstrap.com/docs/4.0/components/buttons/#examples

 

Stefan
Telerik team
 answered on 17 May 2018
2 answers
260 views

Is there a way too validate the dropdown and date picker with the new react components?

Thanks

Chris
Top achievements
Rank 1
 answered on 16 May 2018
1 answer
258 views

Switching the active tab with the Telerik React TabStrip component seems to always re-instantiate any components within the <TabStripTab>. This isn't an issue with basic tabs containing only text such as the examples on the Telerik website. However, some of our tabs contain heavier items like data bound charts. Re-instantiating these components on each selected tab change is too costly.

 

Is there a way to prevent this behavior? We have tried using Bootstrap's tabs and they do not have this same side effect. With bootstrap, the components contained inside the tabs are simply re-rendered.

Stefan
Telerik team
 answered on 03 May 2018
3 answers
134 views
When the grid is being initiated, the  passed into the grid as children will be filtered by "child.type === GridColumn" to check whether it is indeed a GridColumn. With React Hot Loader, each React element will be modified to be a ProxyFacade, and the Grid will not recognize its children anymore. Do you have any workaround for this problem, and do you plan to support React Hot Loader in the future?
Stefan
Telerik team
 answered on 19 Apr 2018
1 answer
236 views

hi..

I use react-kendo for ui .

How to open 2 or 3 windows in a file and point them to them using the ID and Ref ??

```

class LayoutsContainer extends React.Component {

openwin1() {
$("[data-role='window']").each(function (index) { $(this).data('kendoWindow').open()});
}

openwin2() {
$("[data-role='window']").each(function (index) { $(this).data('kendoWindow').open()});
}

  render() {

return (

<div>

<Window id="win1">

hi

</Window>

<Window id="win2">
Hello
</Window>

<span id="undo1" className="k-button" onClick={this.openwin1}>Click here to open the Window1</span>

<span id="undo2" className="k-button" onClick={this.openwin2}>Click here to open the Window2</span>

</div>

); } }

```

this code not working...

please help me

Stefan
Telerik team
 answered on 09 Apr 2018
1 answer
3.7K+ views

Hello,

I have a GridColumn which is a date in ISO format. I have added the format option,"0:MMM yyyy", to obtain an understanding of how the process functions. The format appears to be ignored as the ISO format is displayed.  Is there a property where I should be specifying the datatype for each column?

I am including my rendering for reference:

 <Grid data={this.props.dataItem.details}>
                <Column field="status" title="Status" width="120px" />
                <Column field="status_Notes" title="Status Notes" />
                <Column field="status_Date" title="Status Date" format="0:MMM yyyy" />
  </Grid>

Best regards,

Joe

Joe
Top achievements
Rank 1
 answered on 06 Apr 2018
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?