dataSource connected to button

Posted by Martin Velikov on 28-Apr-2017 03:22

Hi,

I am trying to connect a dataSource to a button, different from the one connected with the grid.
My idea is to use the button to open a popup menu with CRUD operations, connected with a table from a database. 
I saw some examples here:
http://demos.telerik.com/kendo-ui/window/index
but it is not what exactly I am searching for.

All Replies

Posted by egarcia on 28-Apr-2017 08:46

Hello,

I wonder if the following sample (form-with-crud) is closer to what you are looking for:

   web: oemobiledemo.progress.com/.../

   source code: github.com/.../kendo-ui-builder-samples

This example corresponds to a view created using the Blank view option. The view-factory.js code uses a dataSource associated with the view and implements CRUD operations. You can also create your own data source instance if you need.

I hope this helps.

Posted by Martin Velikov on 03-May-2017 07:14

Hello again,

Yes it is closer, but I was thinking about a kendo window like one that is opening for popup editing on the DATA grid view. What is the way to take control over the buttons for edit/delete/add new in these views or to make your own popup edit button with a custom datasource?

This thread is closed