Using rewrite in IIS (express) to avoid path-struggle when using Sencha Cmd within ASP.NET MVC

If you’re using Sencha Cmd (you should!) you are aware of the indexHtmlPath-setting in app.json. In a current project there is a special case feature which requires an execution inside a newly opened window which then has a different url-segment: http://localhost/special-function/ compared to http://localhost/ for the “normal featured” application. The paths generated by Sencha Cmd […]

Workaround for Ext JS store-sync-callback not called when no modifications took place

Somewhere back in time the `Ext.data.Store`-sync method got a callback-option which is called when the sync-operation completes. But this callback is not executed if there are no modifications to the store (no add, no delete, no update). Which seems a bit odd imho. If the codes relies on the callback beeing always executed whent the […]

Disallow column reordering of grid-columns in Ext JS

Just had the requirement to disallow the reordering of columns inside an Ext JS grid. Took me a while to find it. The configuration is simple. { xtype: ‘gridcolumn’, text: ‘Column 1’, draggable: false // this disables the reordering }{ xtype: ‘gridcolumn’, text: ‘Column 1’, draggable: false // this disables the reordering }

Disable float/numberic filter input inside an Ext JS grid with the gridfilters-plugin

When using the ootb gridfilters-plugin inside the Ext JS grid this: { text: ‘teh Number’, width: 80, sortable: true, dataIndex: ‘id’, filter: ‘number’ }{ text: ‘teh Number’, width: 80, sortable: true, dataIndex: ‘id’, filter: ‘number’ } results in this: So all input is treated as float / numeric values. In my case I’d like to […]

Creating a synonym for a MYSQL-linked server within SQL Server 2008 and above

In a current project it was a requirement to setup synonyms for tables that reside in a MySQL database. This MySQL database was added as “linked server” into SQL Server (via ODBC). If you do this for other SQL Server objects the syntax is like so CREATE SYNONYM app.EX_tbl_foobar FOR [LinkedServerName].[dbname].[schema].[tbl_foobar];CREATE SYNONYM app.EX_tbl_foobar FOR [LinkedServerName].[dbname].[schema].[tbl_foobar]; […]