Custom editor popup example

4 posts, 1 answers
  1. Doug
    Doug avatar
    10 posts
    Member since:
    Mar 2014

    Posted 20 Jun 2017 Link to this post

    Is there an example of using the spreadsheet custom editor with a kendoPopup rather than a kendoWindow?  I want the editor to be shown just to side of the cell that is selected, and disappear when a user clicks a location other than the popup.  I am using MVVM.  Here is an example similar to my scenario.  Click on the editor button next to cell A1.  Notice that the popup flashes and disappears almost immediately.  How to get this to work properly and be anchored to the cell that originated it?

     

     

  2. Answer
    Dimitar
    Admin
    Dimitar avatar
    796 posts

    Posted 22 Jun 2017 Link to this post

    Hello Doug,

    Currently the Dojo service is not operational so I did not manage to have a look at your example.

    I have followed the guidelines provided to prepare a new example in Plunker, where a similar scenario is demonstrated (Kendo popup in a custom Spreadsheet cell editor).

    In the current scenario I have used the Popup's anchor and position configuration properties to display the popup next to the cell button.

    I hope this helps you to resolve the case. 

    Regards,
    Dimitar
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. Smita
    Smita avatar
    5 posts
    Member since:
    Nov 2019

    Posted 05 Feb Link to this post

    Hello,

    I have used custom cell editor for the spreadsheet cell.

    If I have typed content to the cell and without closing the cell ,if I have clicked on custom editor button for that cell then in that case the content of the cell gets cleared but I want to preserve that content,

    Is there any provision to get that already typed content of the cell

  4. Dimitar
    Admin
    Dimitar avatar
    796 posts

    Posted 06 Feb Link to this post

    Hello Smita,

    Defining a custom cell editor provides the ability to render custom UI and set the content/value dynamically if needed. Such example is demonstrated in the documentation:

    I would suggest using this example to verify if the demonstrated approach is suitable for the project requirements.

    Regards,
    Dimitar
    Progress Telerik

    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top