Telerik Forums
KendoReact Forum
1 answer
221 views
how to add % to the caption on the side, and create a chart legend icon like below
Stefan
Telerik team
 answered on 11 Feb 2022
1 answer
206 views

Hi, how can I modify the excel export from the docs and add a footer cell I don't know how to include it in the excel export.

Please someone can show me how to do it? 

https://stackblitz.com/edit/react-9cw5ko?file=app/main.jsx

Filip
Telerik team
 answered on 10 Feb 2022
1 answer
820 views

I've generated a React app that uses TypeScript and only added kendo-theme-material and I get warnings when building the production build. Since our CI system is set to fail on warnings it will stop the build and not continue. I don't want to ease up on that rule. I think that kendo-theme-material shouldn't give any warnings.

How should this be handled? It is a bit tricky to submit bug reports without a license and we don't want to buy a license for a component that isn't working as it should.

Reproduce:

npx create-react-app kendo-app --template redux-typescript
npm install --save @progress/kendo-theme-material

Add to App.tsx:

import '@progress/kendo-theme-material/dist/all.css';

Run:

npm start build
Warnings:
static/css/main.17a367f8.css from Css Minimizer plugin
postcss-svgo:: Non-whitespace before first tag.

> 1 | %3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3e%3ccircle cx='50…
    | ^
 webpack://./src/index.css:1:0

static/css/main.17a367f8.css from Css Minimizer plugin
postcss-svgo:: Non-whitespace before first tag.

> 1 | %3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3e%3ccircle cx='50…
    | ^
 webpack://./src/index.css:1:0

File that causes the warnings:
node_modules\@progress\kendo-theme-material\dist\all.css
Rows: 17512 and 17527
Stefan
Telerik team
 answered on 10 Feb 2022
1 answer
164 views
Hi. I'm trying reset a form according to the example on https://www.telerik.com/kendo-react-ui/components/form/advanced-scenarios/ , as shown under "Resetting the Form Initial State". However, it does not work form me if I want to reset it with an object with the same data.

My scenario is that a user loads a form with initial data, fills in the form, submits the form. After the submit, we would like the form to revert to its original state (initial data). This does not happen as JSON.stringify produces the same key. I sorted it by adding an extra space into one property but I am sure there must be a better way to achieve this. 

  // initial data
  const [user, setUser] = React.useState({
    firstName: "John",
    lastName: "Smith",
    email: "John.Smith@email.com",
  });
  // data to reset
  const loadNewUser = () => {
    setUser({
      firstName: "John",
      lastName: "Smith",
      email: "John.Smith@email.com",
    });
  };
Stefan
Telerik team
 answered on 10 Feb 2022
1 answer
151 views
I use the WeekView with the Scheduler component and I have set the slotDivisions property to 1. When I now add a new event for example at 08:20 it places the event exactly at the 08:00 slot. Is it possible to place it according to the time a little further down? Like for example in Outlook, if I add a new event, it is placed at the time when the event is starting (for example see attached screenshots).
Filip
Telerik team
 answered on 09 Feb 2022
1 answer
219 views

I need to set the initial filter value inside GridColumnMenuFilter.

 

The problem: initial value applies to filter under title but not apply to filter inside GridColumnMenuFilter.

 

Code example:


const initialFilter: CompositeFilterDescriptor = {
    logic: "and",
    filters: [
      {
        field: "isAdmin",
        operator: "eq",
        value: true,
      },
    ],
  };

  const GridColumnMenu = (props: GridColumnMenuProps): JSX.Element => {
  return (
    <div>
      <GridColumnMenuFilter {...props} expanded={true} hideSecondFilter />
    </div>
  );
};

 const columnProps = (
  field: string
) => {
  return {
    field: field,
    columnMenu: GridColumnMenu
  };
};

  <Grid           
        data={tableData.data}           
        filterable={true}
        filter={initialFilter}            
      >
    <GridColumn
       title={"Is Admin>"}
       {...columnProps("isAdmin")} />
    ...
 </Grid>

Thanks for any help.
Stefan
Telerik team
 answered on 07 Feb 2022
1 answer
185 views

HI,

I have a Dialog with some Kendo controls - something like the attached screenshot.

const onSave = () => {

...

}

 

{props.visible && (<Dialog title={"Split Audience"} height={{dialogHeight}} width={800} closeIcon={false}>
<Form onSubmit={onSave} render={formRenderProps => <FormElement>

...

<Field name={"SS_"+index} maxLength={55} component={SegmentNameInput} defaultValue={segmentName+'_'+suffixValues[index]}
validator={segmentNameValidator}/>

...

</FormElement>

}/>

    <DialogActionsBar layout={"end"}>
        <button
className="k-button k-button-md k-rounded-md k-button-solid k-button-solid-primary dialog-save" type="submit">
Save
</button>
</DialogActionsBar>

The issue is that the onSave submit handler never gets invoked.  I was wondering if it is because the <Form..> is within the dialog?

 

Any help would be appreciated.

Stefan
Telerik team
 answered on 04 Feb 2022
1 answer
4.6K+ views

Hi Team,

We are using kendo react licences version in our web project, we have suddenly some functionality like filtering in grid are stopped working. upon investigate, we found below message in console and we suspect this might be the reason.

License activation failed for @progress/kendo-react-intl
Your license expired on 15/09/2021, 03:34:16, the package was published on 18/01/2022, 19:57:51.

We followed steps documented in below link, but still not showing filter option in grid and keep getting activation fail message. is there something we are missing here?

https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning

Stefan
Telerik team
 answered on 04 Feb 2022
1 answer
210 views

Hi there,

I'd like to turn off even/odd row highlighting for the Grid and use cell border instead. Also I'd like to change row height (smaller then default), rowHeight property doesnt' really help with that. 

I can do it by learning kendo css classes and override particular properties for certan classes but... I have many different vendors for different components and it's so a pitty to learn all the css classes hell...

It'd be supper cool to have something like turnOffAlternation and showCellBorder attributes on the Grid.

p.s. I easily predict answer but at least I gave a try :)

Konstantin Dikov
Telerik team
 answered on 03 Feb 2022
2 answers
431 views

[kendo-react-buttons v5.0.1]

It seems that the `Button` component removes the `title` prop, making it empty string when rendered. This prevents Tooltip from working on a Button. Is this intentional?


<Button title="test">Test</Button>

renders

<button title="" class="k-button k-button-md k-button-rectangle k-button-solid k-button-solid-base k-rounded-md"><span class="k-button-text">Test</span></button>

note that title is `title=""`

Full StackBlitz example: https://stackblitz.com/edit/react-2xvipj?file=app/main.jsx

 

Stefan
Telerik team
 answered on 03 Feb 2022
Narrow your results
Selected tags
Tags
General Discussions
Grid
Wrappers for React
Charts
Scheduler
Filter 
DropDownList
Form
Styling / Themes
DatePicker
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
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?