This is a migrated thread and some comments may be shown as answers.

Custom editor popup example

3 Answers 108 Views
Spreadsheet
This is a migrated thread and some comments may be shown as answers.
Doug
Top achievements
Rank 1
Doug asked on 20 Jun 2017, 03:04 PM

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?

 

 

3 Answers, 1 is accepted

Sort by
0
Accepted
Dimitar
Telerik team
answered on 22 Jun 2017, 01:15 PM
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.
0
Smita
Top achievements
Rank 1
answered on 05 Feb 2020, 08:32 AM

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

0
Dimitar
Telerik team
answered on 06 Feb 2020, 08:46 AM

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.
Tags
Spreadsheet
Asked by
Doug
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Smita
Top achievements
Rank 1
Share this question
or