Paste?

2 posts, 0 answers
  1. Ed
    Ed avatar
    44 posts
    Member since:
    Dec 2019

    Posted 04 Mar 2020 Link to this post

    Is it possible to paste multiple rows into the grid, whether it's from excel or notepad, I don't care, I'd just like to have the capability.

    Thanks .... Ed

     

  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    5922 posts

    Posted 04 Mar 2020 Link to this post

    Hello Ed,

    If you can capture the paste event on your page (e.g., through a <div> around the grid), you can get the data in C# and populate the grid Data collection with it. If you do create such an example, I'd encourage you to open a pull request with it in this repo: https://github.com/telerik/blazor-ui - we award such contributions with Telerik points and we will credit you in the readme in an appropriate manner that you prefer (you can add the credits yourself in a readme too).

    The following thread offers some explanations on why the grid can't do this for you (short version: serialization of the models is not in the grid's domain): https://feedback.telerik.com/blazor/1435743-copy-selected-row-to-the-clipboard.

     

    Regards,
    Marin Bratanov
    Progress Telerik

     UI for Blazor
Back to Top