Hi.
In your PDFProcessing component you have the possibility as shown on this page, to add manual page breaks using CSS classes.
I am using the drawDOM and exportPDF functionalities similar to what is shown here to generate a Base64String of my pages and then push that string directly to a PDFViewer instance so I can generate a PDF on the fly and show it in the viewer. The question is if there is a simliar functionality to add manual page breaks as with the PDFProcessing component if I generate the PDF on the fly?
To show what I've done, I have put my code here.
Thanks for any help.
Greetings,
Bernd
I have two events, event 1 ends at 08.34 and event 2 starts at 08.34, but are not stacking vertically.
If i change the duration of the events to fill a "slotDuration" then i renders correctly.
How to get the events to stack vertically for shorter events?
How do we use our custom icons in Kendo?
How to set an icon to the form error message?
Hi Kendo team,
I'm exploring ways to convert Figma component designs directly into code. Has your component been convertable and what tools or methods would you recommend? I'm particularly interested in solutions that support React or other modern frameworks.
Problem summary: When including the ability to reorder columns and toggle column visibility on a grid ColumnMenu, the column order gets corrupted despite the correct order being stored and retrieved from session storage.
Detailed description: We want our users to be able to persist their grid column order and visibility. We also want the column order to be updated in the column menu. The column menu context keeps track of the order with a list of GridColumnProps. We save the column menu filter context and the column order into session storage.
Grid
ColumnMenuContext
Session storage
Because GridColumnProps doesn't contain an order index parameter, on our 'onColumnsReorder' event, I take the the GridColumnProps lists and order them based on the orderIndex of the columns passed to the events. This works as expected for when I only reorder the columns or I only toggle column visibility. However, if I reorder the columns and then toggle visibility without refreshing, I lose the original column order. I have verified multiple times in the console that the order being saved to session storage is correct. When I refresh after the column order is lost, it then loads the columns with the correct order.
I've seen this same behavior on other Telerik demos where you set reorderable={true} on a grid with a column menu. Easy steps to reproduce are always to switch the first two columns in the grid, and then toggle the first column's visibility to off. I've included text files (originally tsx files) with our data-grid component implementation and its component dependencies for reference. 'data-grid.tsx' contains the logic for saving the filter order and column order/visibility in the 'onColumnsChange' and the 'onColumnsReorder' event handlers.
If this can't be done with GridColumnProps, is there a different object we could save to the ColumnMenu's lists that would enable direct index tracking?
Hi.
Is it somehow possible to restrict the DatePicker component to only show the month or the year view (see attached screenshots) ?
In my component I have two fields. The first one should only allow a month / year input and the second one should only allow to choose a year. So I would like to use the DatePicker component but as it allows to also select a specific date in a month, that's more than I want to allow to the user.
Thanks,
Greetings,
Bernd