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', [...]
Home
» Archives for May 2011
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(){
/** [...]
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) [...]
Popular Posts
-
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...
-
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,...
-
Do you use your own domain name with Blogger? Do you place " Blogger's Stats Widget " on your page? Or do you regularly chec...
-
I have been developing some projects with ExtJs for a while and also created some plubg-ins and extensions for these projects. Recently, I...
-
I have visited many blog sites and most of them have " Related Posts " or " You may also like - " section for...
Categories
Coding
(
17
)
Tips
(
11
)
Javascript
(
8
)
C#
(
6
)
ExtJs
(
6
)
NETCF
(
5
)
Windows Mobile
(
5
)
Blogger
(
4
)
PHP
(
4
)
Linux
(
3
)
MySQL
(
3
)
Ubuntu
(
3
)
Android
(
2
)
Apache
(
2
)
CSS
(
2
)
Html
(
2
)
Minify
(
2
)
jQuery
(
2
)
Agile
(
1
)
C++
(
1
)
Exchange
(
1
)
Gimp
(
1
)
Life
(
1
)
Mac
(
1
)
Scrum
(
1
)
Buy me a cuppa
Thank you for visiting my blog.
If you'd like to support me,
you can buy me a cuppa.
If you'd like to support me,
you can buy me a cuppa.