ExtJS 4.0: Keeping a row at the top position in a GridPanel

I’ve had the need for a grid I am working on keep a row representing the user currently logged in as the top row in the grid. Mind you there is no paging on this grid. I am using a slightly outdated version of ExtJS, i.e 4.0. I tried listening to the viewready event onContinue reading “ExtJS 4.0: Keeping a row at the top position in a GridPanel”

How to POST cross domain and access the returned data using ExtJS

Please refer to my earlier post for background on this project. Here is how to post data to a server on a different domain and receive data back using ExtJS (with inspiration from the GWT implementation). First the FormPanel. The fields are standard and in the JS file we define two variables that are criticalContinue reading “How to POST cross domain and access the returned data using ExtJS”

ExtJS: Printing Panels and Grids

One of the features i had to implement in one of the ExtJS application I’ve worked on  is printing. I was surprised to find out that there was no official print stylesheet for ExtJS. Overall, my strategy was to bring up the print layout within a popup window and call the window.print() command once renderingContinue reading “ExtJS: Printing Panels and Grids”

Cross Domain Form Post (XDM) in ExtJS with returned data

I’ve helped a colleague of mine work on a cross domain widget we are building for our applications that allows a user from an application to add information to another application through a pop up widget. Implementation wise, we used a  a simple form implemented using ExtJS FormPanel class. Some of the form fields likeContinue reading “Cross Domain Form Post (XDM) in ExtJS with returned data”

ExtJS JSON Date Serializer: TimeZones and Format

Through development, we finally ran into the Javascript date issue where the dates sent between the front and the backend were not in sync. The front end was sending the dates to the backend in “YYYY-MM_DD” format, and the Jackson’s deserializer would append the application’s server timezone to the date, and this would result inContinue reading “ExtJS JSON Date Serializer: TimeZones and Format”

Disappearing Ext JS RadioGroup and CheckboxGroup inputs in IE6

I ran into an issue in IE6 with a bunch of my controls not showing up when the page loaded. It was specially with the RadioGroup control in ExtJS. The radio buttons would display fine in Firefox but not appear at all in IE6 even though the HTML was present. I thought it was aContinue reading “Disappearing Ext JS RadioGroup and CheckboxGroup inputs in IE6”

Disappearing ExtJS buttons in IE 6

I officially hate IE6 and know the reason why now, ExtJS. Working with this library has opened my eyes to the deficiencies in the browser. Enough has been said on the topic so let me get to the meat of the matter.I spent a crazy amount of time figuring out why one button i wasContinue reading “Disappearing ExtJS buttons in IE 6”