Jack
Jack

Reputation: 1

Opening Kendo popup window for adding new records

I have an separate Add button (neither on toolbar, nor on grid) and I want to open a popup window (having some fields) after clicking this button in order to create a new record. I have a look at the Kendo Demo pages, but all the samples use grid's or toolbar's Create button. Instead of them, a need a sample with a separate button. Any sample please?

Update: I want to create a listview as shown below instead of grid:

enter image description here

Upvotes: 0

Views: 1736

Answers (1)

Jarno Lahtinen
Jarno Lahtinen

Reputation: 1703

If you call dataGrid.addRow() method and edit mode is set to "popup", Popup window will be displayed.

Look at this dojo

Upvotes: 2

Related Questions