In addition to the PdfProcessing, I would also like to be able to use a component to show PDFs to my users.
For the time being, a workaround could be to wrap a JS widget, an example is available in this sample project, see the MyKendoPdfViewer.razor component and make sure to include the relevant JS libraries.
Another approach could be a simple iframe that points to a handler that will return the PDF with content-disposition:inline. Most modern browsers will render this inline.
Please make the source code available to people with paid licences.
The source code for UI for Blazor will become available. Click the Follow button on the upper left hand side to get a notification email when that happens, and click the Vote button to add your vote for it if you need it.
The current plan is to make the source code available to commercial license holders in November 2021.
Please add a feature to export the grid to a PDF file.
We have made two examples you can use for the time being to get a PDF document from the grid:
I am currently fiddling around with the Blazor UI, mainly the grid. I was wondering if it is possible to configure the grid to automatically fit the columns to the contents they have?
Meaning that the width of the header and the content cells of a given column are automatically set to a value which best fits either the cells content or the header title (depending on what takes up more space).
We are looking to port an angularjs web application to Blazor and I didn't see the diagram component similar to the one found in Kendo UI. It would be nice to see a viso-like component in UI for Blazor.
I would like to be able to do something like
context as MyModel;
See the thread below for a way to implement this right now with your own buttons in a "regular" column and the grid state.
At the moment, when tabs hide their components are removed, so when you go back to a tab, it initializes again - for example, the OnInitializedAsync event fires where you fetch data, so you have to fetch the data again.
This behavior should be controlled through a property so one can keep the original behavior where the components are cleared from the DOM and memory.
Perhaps an option can be added where tabs are initialized not on initial load, but upon first activation only. Maybe the feature can become something like an enum - LoadMode="InitialRender|FirstRender|EveryRender" (working title off the top of my head).
At the moment, a solution you can use is to send the data to the tab from its contents through an event, and to pass it to them as a Parameter so you can check for it before fetching data.
With OnRead, AllPages cannot be exported because the grid Data only has the current page: https://docs.telerik.com/blazor-ui/components/grid/export/excel#notes:
If you are using the OnRead event, only the current page of data will be exported, because that's all the grid has at the time of the export action.
I load my data via "OnRead", because i need to implement pagination by myself, and I would like the export option to work with that too.
This is a question;
I was just looking Blazor Docs and noticed they have several Input Tags that cover most cases. I then check Telerik list that I don't see the following in Telerik offering:
I also checked the roadmap for next year and didn't see them either.
My question is, are plans to cover these any time soon? If yes, what's the approximate time-frame?
Secondly, for the time being, should we use the ones that come with Blazor?
Lastly, is there plan to have a mini editor like TinyMCE that we can let user to enter rich text stored in DB?
Thanks in advance!
I need the ability to show or hide command buttons based on a row's property.
I am aware that I can just cancel commands, but in my opinion, a command button should not even be shown when the command can't or shouldn't be executed on a row.
Unfortunately, I was unable to find a way to access the "context" (the instance) in a TelerikGridCommandColumn the same way you're able to in a normal TelerikGridColumn.
You can Vote for and Follow this request for a follow up on providing the model as context to the command column: https://feedback.telerik.com/blazor/1461283-pass-the-model-context-to-command-button. At the moment, conditional command buttons are possible in a "normal" column through the grid state, the page above shows an example.