Monday, January 18, 2016

ExtJS


CDN for ExtJS
https://cdnjs.com/libraries/extjs

Do not forget to include extjs library to run below programs.


   

<html>
<srcipt src="http://dev.sencha.com/deploy/dev/resources/css/ext-all.css"></script>
<srcipt src="http://dev.sencha.com/deploy/dev/adapter/ext/ext-base.js"></script>
<srcipt src="http://dev.sencha.com/deploy/dev/ext-all.js"></script>
<srcipt src="http://dev.sencha.com/deploy/ext-4.0.0/examples/shared/example.css"></script>
<script>
Ext.onReady(function(){
   
    new Ext.Button({
        renderTo: Ext.getBody(),
        text: 'ExtJS Button',
        icon: 'http://dev.sencha.com/deploy/dev/examples/shared/icons/fam/delete.gif',
        handler: function(){
            alert('Yay it works!')
        }
    })
   
});
</script>
<style>
body { padding: 20px }
</style>
<p>A test if ExtJS works on JSFiddle</p>

</html>