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 […]

Localizing the row-editor buttons via overrides and Sencha Cmd

If you are using the RowEditing plugin in your grid you are used to the “Update” and “Cancel” buttons. But localization for “de” is missing. So I did them myself using the overrides-folder of my application. I create a file RowEditor within the subfolder grid inside the overrides-folder itself. I dropped this code (note: the […]