PageSize plugin for Paging Toolbar for ExtJs 4
Hey... here is another one for everybody... As the standard paging toolbar of ExtJs 4 does not have function to change the page size of the data store, so I make a simple plugin for the paging toolbar. I believe there are many examples if you Google it, but just another sample to share though... /** * Ext.ux.grid.PageSize */ Ext.define('Ext.ux.grid.PageSize', { extend : 'Ext.form.field.ComboBox', alias : 'plugin.pagesize', beforeText : 'Show', afterText : 'rows/page', mode : 'local', displayField: 'text', valueField : 'value', [...]
by Elvis Hsu 8 comments Read More
Dynamic GridPanel for ExtJs 4
Recently, I was trying to update our internal system from ExtJs 3 to version 4. Well, I think many V3 plugins are needed to be updated. So I was a bit busy on that... Anyway, I am going to share a bit of code which is the dynamic grid for ExtJs 4. As the sample from Erhan Abay is for ExtJs 3, so I made a few changes for ExtJs 4. /** * Ext.ux.grid.DynamicGridPanel */ Ext.define('Ext.ux.grid.DynamicGridPanel', { extend: 'Ext.grid.GridPanel', alias: 'widget.dynamicgrid', /** * initialising the components */ initComponent: function(){ /** [...]
by Elvis Hsu 55 comments Read More
Tricky VPN settings on Ubuntu 11.04
Today, I was trying to connect to our VPN with Ubuntu 11.04 and found out that was not working. Well, after a bit searches on Google, I found out there are some points of VPN settings that I needed to change. Username should be domain\username. Do not fill out domain in the VPN configuration. Under the advanced option make sure you tick "Use Point-to-Point encryption (MPPE)" option. (see above screenshot) [...]
by Elvis Hsu 3 comments Read More

CryptoDonatex