Category: ExtJS

ExtJS, Spring MVC 3 and Hibernate 3.5: CRUD DataGrid Example

ExtJS, Spring MVC 3 and Hibernate 3.5: CRUD DataGrid Example

September 2, 2010 | By | 54 Comments

This tutorial will walk through how to implement a CRUD (Create, Read, Update, Delete) DataGrid using ExtJS, Spring MVC 3 and Hibernate 3.5. What do we usually want to do with data? Create (Insert) Read / Retrieve (Select) Update (Update) Delete / Destroy (Delete) Until ExtJS 3.0 we only could READ data using a dataGrid. [...]

Continue Reading

How to resize an ExtJS Panel, Grid, Component on Window Resize without using Ext.Viewport

How to resize an ExtJS Panel, Grid, Component on Window Resize without using Ext.Viewport

August 24, 2010 | By | 2 Comments

This post will walk through how to resize an ExtJS Panel, Grid, Component on Window Resize without using Ext.Viewport. Problem: You have a legacy page and you want to change an html grid for an ExtJS DataGrid, because it has so many cool features. Or you have a page with some design and you are [...]

Continue Reading

ExtJS plugin: PagingToolbarResizer

ExtJS plugin: PagingToolbarResizer

August 2, 2010 | By | 8 Comments

Well, this is my first ExtJS plugin. Though it is not an advanced plugin, I’m very happy and it is a big accomplishment for me! The problem: ExtJS PagingToolbar Component allows the developer to set a predetermined page size, which is the total number of records that will be displayed on the grid at once. [...]

Continue Reading

ExtJS: Stop the “page contains secure and nonsecure items” Warning

ExtJS: Stop the “page contains secure and nonsecure items” Warning

May 24, 2010 | By | 1 Comment

Are your SSL web pages plagued by the browser warning “This page contains both secure and nonsecure items. Do you want to display the nonsecure items?“ This is a common error that occurs when some element on a secure web page (one that is loaded with https:// in the address bar) is not being loaded [...]

Continue Reading

How to Populate Ext JS ComboBox using Spring Controller

How to Populate Ext JS ComboBox using Spring Controller

May 19, 2010 | By | 4 Comments

This tutorial will walk through how to populate an ExtJS ComboBox using a Spring Controller. To populate ExtJS ComboBox using Spring Controller, you need create an Ajax request using Ext.data.HttpProxy and as response you can return JSON Objects (or an XML – in this example, I will use JSON). And using a JsonReader, you can read [...]

Continue Reading