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

How Can I Extend The Kendo Angular Grid?

1 Answer 397 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Andy
Top achievements
Rank 1
Andy asked on 28 Aug 2014, 08:51 PM
I would like to be able to do something like:

<div kendo-custom-grid></div>


And have a custom function that runs every time the extended version
of the grid is used, that way I don't have to repeat myself with the
same method when loading the grid every time.

Since right now I'm doing:

<div kendo-grid></div>


It looks like there's a way to extend the grid using extend in the non angular kendo grid. http://elybob.wordpress.com/2013/09/06/kendo-grid-extension-tutorial/

1 Answer, 1 is accepted

Sort by
0
Mihai
Telerik team
answered on 29 Aug 2014, 08:44 AM
Hi,

The "Angular way" is to create a custom directive.  Here is an article which describes how to do it: http://www.ng-newsletter.com/posts/directives.html

I wrote a quick sample for you: http://dojo.telerik.com/@mishoo/EkUj but note that writing custom Angular directives is out of the scope of our technical support.

Regards,
Mihai
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Andy
Top achievements
Rank 1
Answers by
Mihai
Telerik team
Share this question
or