Telerik Forums
KendoReact Forum
0 answers
604 views

Hi.

I use Column Menu Filter in my data grids and I wonder how can I use the DateTime filter on date fields?

Daniel
Top achievements
Rank 1
Iron
Iron
 asked on 31 Jan 2022
2 answers
124 views

I'm having issues in implementing date format on datagrid column. The problem is when the date is null it renders NaN/NaN/NaN. 

Is there way to customize this or at least hide the NaN when the date is null? TIA

 

here's my code

`<Column field="testDate" title="test date" filter="date" format="{0:dd/MM/yyyy}" />`

Filip
Telerik team
 answered on 31 Jan 2022
1 answer
89 views
Hello,

We are using kendo react excel export in our project
One of the header in grouped header column looks like "Arsenal & Arsenal". But when we export we are getting header as "Arsenal &amp; Arsenal".
"&" is replaced with "&amp;"
Is this the issue from telerik side?

Thank you
Konstantin Dikov
Telerik team
 answered on 31 Jan 2022
1 answer
68 views

I created an open/close toggle button on the grid using a custom cell props that triggers a new detail row on the row detail props in the Grid component, how do I use it? and parse setState from component detail row to component button?

and why if the toogle condition is in a false column in the table it always leaves a space? here's an example


Stefan
Telerik team
 answered on 31 Jan 2022
1 answer
89 views

Hi,

 

Can i disable weekends ... or maybe not show a day of a week in DateTime Picker.

For example i don't want my DateTime Picker to show FRI and SAT days

 

is that possible

Thank you

 

Konstantin Dikov
Telerik team
 answered on 31 Jan 2022
1 answer
96 views
In the Scheduler component I would like to use different forms depending on if there is already an entry in a day column or not. Meaning, if there is no event yet on a specific day, I would like to show a different form than if there is already an event.

I have put the code where I use the Scheduler component here:

https://stackblitz.com/edit/react-ts-kyjpoi

This doesn't work of course because of the missing dependencies but I wanted to show you what I've done. The important parts are:

Line 160: Here I hijack the double click event of the slot to determine if there is already an event in the column and depending on the answer, I set the variable isDayEmpty which I use in line 207 to determine the form.

The problem is, that as I have hijacked the double click event, nothing happens anymore when I double click in the Scheduler and the Dialog with the form does not open anymore. How can I trigger the standard double click behavior (open the dialog) using the correct form?
Stefan
Telerik team
 answered on 28 Jan 2022
1 answer
43 views
1 answer
273 views

Hi,

 

I'm using the free trial to try the pdfexport of Kendo React (I'm using the export with component). I have problem with the export of accented characters: "é-è-à-ù" is exported as "Ø-Ł-à-ø" into the pdf.

The properties of the pdf indicates that the font used is Helvetica (so if I understand, the result is normal because this font don't support those characters).

I read this page: https://www.telerik.com/kendo-react-ui/components/drawing/pdf-output/embedded-fonts/ and I declare the @font-face for DejaVu (and the font-family). My page display the text with this font, but when I export the page in pdf, the font DejaVu is not used, and the properties of the pdf still indicate the font Helvetica. It's like if the export didn't take in account the font.

I don't know what I'm missing. Anyone can help me?

Stefan
Telerik team
 answered on 26 Jan 2022
1 answer
327 views

Is it possible to set a specific color for the events in the Scheduler? I mainly use the week-view but actually it doesn't matter which view. I just would like to be able to programmatically set the color of a Scheduler event entry (different color for every event). Is that possible? I saw the "Provide Custom Editor" example with the resources on this page:

https://www.telerik.com/kendo-react-ui/components/scheduler/customization/form/editor/

But here the colors are set based on a resource type. I don't have resources like this so I'd be interested if and how this could be done for each event independently.

 

Bernd
Top achievements
Rank 5
Bronze
Bronze
Bronze
 answered on 26 Jan 2022
1 answer
106 views

Hi.

We're using kendo-react-excel-export version 3.7

Exporting data to Excel works fine EXCEPT when there's only 1 column of data.

In the following code, there is data in sheets but after the code is invoked, that data is not in workbooks.

Is this a known issue?

If so, is there is a workaround?

The application has been running for sometime. It is possible the situation where there is just one column of data doesn't happen very often.

const workbooks = sheets.map(x => this[x.ref].workbookOptions());

Stefan
Telerik team
 answered on 25 Jan 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?