extjs ExtJS: Handle anchor tag clicks Just a note on handling anchor clicks in text. If you have a blob of HTML in text on a view... for instance: { xtype: 'panel', html: '<span class="z-information-icon" data-qtip="Expected file fomart is CSV"> &
extjs ExtJS: Templating Applying Templates This article describes a few techniques for rendering templates. The simplest I have found is to use apply and call then call update for your component and pass in the HTML that apply provided to you. For example, in a panel, I
extjs ExtJS: component event from DOM click I needed to define a custom event in a view that was rending its contents with a template. The view was a simple panel that used templates to render a fairly complicated display. Part of this display was supposed to trigger actions. To do
extjs ExtJS change a grid's store on the fly You can change an ExtJS grid on the fly after it has loaded by using reconfigure method on the grid. This feature allows you to change the data store and adjust the columns. The problem I ran into was how to populate a grid
extjs Retrieving the header checkbox in Ext The checkbox in a grid / tree panel header is a somewhat challenging to get a hold of in Ext. I was attempting to add validation to the checkbox in a header column (basically saying "You need to check something dummy"). I needed
extjs ExtJS check if object is an instance of an xtype ExtJS in version 4 has some neat helpers to get you the inheritance chain of the a component. I ran into a situation where I was passing in an unknown component type and wanted to interrogate the object's type to determine what to do.
extjs Trapping click events in ExtJS Summary feature Trapping click events fired from the summary feature in ExtJS 4.2 is rather difficult. These events are not fired like normal cell click events because the summary feature is outside the grid view. This means the feature doesn't play nice with some of
extjs Nested XML in ExtJS I found a few gotchas while playing around with parsing nested XML in Ext. Take this bit of XML for example. How do you go about automatically building the associations? How do you parse attributes? How do you mix attributes and element parsing? <
extjs Associated models with ExtJS I was creating a dashboard page that was displaying a bunch of different data. Not wanting to be chatty, I was attempting to make a single server call to retrieve the snapshot of data. The data contained multiple models rolled into a single JSON