Telerik Forums
KendoReact Forum
1 answer
298 views

I have a grid with a column format {0:d} when passing in a null value its returning 12/31/1969.

<GridColumn

key= {"InvoiceDate"}
title= {"Inv Date"}
width= {85},
show= {true}
format= {"{0:d}"}
}

Any suggestions? 

Stefan
Telerik team
 answered on 18 Jan 2019
1 answer
336 views

I copied the window component from the example(https://www.telerik.com/kendo-react-ui/components/dialogs/window/) and wanted to build a form on top of the window component. The drop down list of values is showing behind the window. I tried adjusting the z-index but was unsuccessful. I have attached an example of what i'm seeing. The only additional code I added to the example is shown below. "values" is an array of values from 1-20.

 

<label class="k-form-field">
    <span> Dropdown </span>
    <DropDownList data={this.values} />
</label>
Stefan
Telerik team
 answered on 17 Jan 2019
34 answers
481 views

We have applied a custom style to grid cells as below,

<Column key={groupArray[0]} title={currentTabColumns[groupArray[0]]} width="148px" field={groupArray[0]} cell = {RerValue} />

 

the extended class is as below,

export default class RerValue extends GridCell {
render() {

const style = {
backgroundColor: 'red'
};

return <td style={style}> {data} </td>;

}

 

but now the editing stops. If we remove the custom style the editing works.

Please guide us on how to make this work.

Sandeep
Top achievements
Rank 1
 answered on 11 Jan 2019
3 answers
739 views

I need to offer the user a "Reset Grid" Button that they can use to reset the grids column widths back to their original values where all columns neatly fit in the viewable area.

I'm doing this in React and Redux based app and we have one column that doesn't have a width, call it the flex column, as we want the grid columns to sick to the edges of the grid and have the flex column adjust in size so all the columns fit perfectly. This works great on initial load. However if the user adjust columns so the width is wider than the grids viewable area and the grid shows a horizontal scroll bar then when the user clicks "Reset Grid" and we give the grid the original column configuration (same one we gave it originally which worked at that time with the flex column not having a width) the grid is fit to the width of the horizontal scrollable area and not of the viewable area meaning we still have horizontal scroll bars and the columns aren't all in view.

How do we accomplish reset like in the older grid and shown here: https://plnkr.co/edit/htk7JcHcWn4Vq8ok4T8l?p=preview

Stefan
Telerik team
 answered on 11 Jan 2019
2 answers
745 views

I've run into an issue when using both grouping and a custom cell with a react grid. A new column seems to be created in the grouping row, and the other rows are pushed to the left, which causes the headers to no longer line up.

Here's a link to a fork of the grouping example from the docs, with a custom cell added that shows this: https://stackblitz.com/edit/react-t9ce44?file=app%2Fmain.js

Did I miss something, or is it bugged?

Spencer
Top achievements
Rank 1
 answered on 10 Jan 2019
1 answer
660 views

Hello,

In a react grid, i have an editable text field. I discovered that the whole grid was re-rendered after each keystroke. Depending on the size of the grid and its complexity, this may slow down the cell edition.   

Is it possible to only re-render the edited cell ? How can I speed up cell edition ?

Regards,

Jean-Pierre

Stefan
Telerik team
 answered on 10 Jan 2019
1 answer
186 views

Step to reproduce:

Case 1:
1. Go to documentation page: https://www.telerik.com/kendo-react-ui/components/dropdowns/multiselect/filtering/
2. Type “ar” symbols

Actual result: Focused element is Bulgaria instead Armenia

Expected result: The first element in list focused - Armenia

Case 2:

1. Go to documentation page: https://www.telerik.com/kendo-react-ui/components/dropdowns/multiselect/filtering/
2. Type “ary” - Hungary is suggested

3. Remove "y" to search "ar"

Actual result: There is no selected element
Expected result: The first element in list focused - Armenia

Is there a way to fix this behaviour?

Stefan
Telerik team
 answered on 09 Jan 2019
1 answer
132 views

Hi,

Do we have any combine control for datetime picker? I checked in website and found that there are two different controls one for date and one for time i.e. datepicker and timepicker.

But in my case, I want only one control where I can add date and time manually as well as through calender and time selector.

Regards,

Parag

 

 

Stefan
Telerik team
 answered on 07 Jan 2019
2 answers
724 views

I am working with a kendo react grid, and i need to implement to open a menu by right clicking on any cell.  By using onContextMenu on the cell render, I am able to open a popup:

cellRender(tdElement, cellProps) {
        const dataItem = cellProps.dataItem;
        const field = cellProps.field;
        const additionalProps = (cellProps.dataItem[this.editFieldName] && (cellProps.field === cellProps.dataItem[this.editFieldName])) ?
            {
                ref: (td) => {
                    const input = td && td.querySelector('input');
                    if (!input || (input === document.activeElement)) { return; }
                    if (input.type === 'checkbox') {
                        input.focus();
                    } else {
                        input.select();
                    }
                }
            } : {
                onClick: () => { this.enterEdit(dataItem, field); },
                onContextMenu: (e) => { e.preventDefault(); this.onContextMenu(e, dataItem, field); }
            };
        return React.cloneElement(tdElement, { ...tdElement.props, ...additionalProps }, tdElement.props.children);
    }

...

Is it possible for a Popup to detect that it has lost the focus, and then set show property to false ?

Best regards.

PS: Maybe there is a better solution to implement a context menu ?

 

 

Jean-Pierre
Top achievements
Rank 1
 answered on 04 Jan 2019
3 answers
394 views

I have seen a real time chart demo for Kendo UI for Jquery

https://www.telerik.com/forums/redraw-in-real-time

https://demos.telerik.com/kendo-ui/chart-api/benchmark

Is there a similar example of a real time chart for the Kendo Components for React?

Stefan
Telerik team
 answered on 04 Jan 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?