Jeff Austin
unread,Jun 3, 2012, 10:17:28 PM6/3/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AngularJS
Hi. First off - Excellent framework! My question:
Is it possible to use ExtJs 4 components within an Angular
application? I have views that require the use of some ExtJS
components (DataGrids, Panels, Charts, etc). But I LOVE LOVE LOVE the
MVC, IoC, databinding, and declarative syntax of Angular! Is it
possible to combine the 2?
To illustrate, let's say I want to create a ExtJS button component
within an angular controller scope. Here is what I have tried so far
with a basic controller (which is not quite right).
function HomeCtrl($scope) {
$scope.button = Ext.create("Ext.Button", {
text: "Clicky Clicky",
renderTo: Ext.getBody() // obviously this is not correct
because it is rendering to the body via Ext object
});
}
So you can see what I'm trying to do here - create an ExtJS component
that can be a part of the HomeCtrl scope. Is this possible?
If this seems strange, please note that I'm a Flex developer exploring
HTML5/JS for application development, and I'm very new to Angular and
ExtJS. I really like the idea of using Angular as the main structure
and framework of an application, but I really need some heavy duty
components like those from ExtJS.
Thanks!
-Jeff