Ext JS - AJAX Framework

Preview: Ext GWT Grid, Grid Plugins, and EditableGrid

July 23, 2008 by Darrell Meyer

Ext GWT 1.1 development is moving along nicely and includes a new Grid component. Grid is based on the Ext JS Grid and will support the same features including grid plugins, grouping, totaling, and inline editing.

Grid vs. Table

One if the biggest differences between Table and Grid is performance. Table does not scale well with a large number of rows. Grid renders its data much faster and can handle larger data sets with noticeable differences in initial rendering times.

Table is a container of TableItems which work without a model. TableItems deal directly will cell values. Model support is added using a TableBinder which works with a Store. With Grid, there are no child components and Grid works with the Store directly. This design simplifies use and the binder is no longer needed.

Grid Plugins

1.1 adds support for component plugins with the new ComponentPlugin interface which are objects that can “plug” into a component’s lifecycle. With Grid, plugins are used to modify the behavior of Grid to add new features. The following features are provided using plugins and custom renderers.

RowExpander
RowExpander Plugin

CheckBox Grid
CheckBox Plugin
RowNumberer
RowNumberer Plugin

EditableGrid

EditableGrid is a Grid subtype that provides inline editing support using cell editors. Each editor wraps a Field subclass and provides editors based on the data type being edited. A nice feature of Grid is dirty cell marking. A cell shows a visual indicator when it is dirty as defined by the bound Store and Record. All changes to the Grid can be rejected or committed via the Store with the UI updating automatically.
EditableGrid

Next Up

Grid, EditorGrid, and the grid plugins are available in SVN. Next, we will be adding grouping and totaling support to Grid.

If you like this post, share it with your friends!

35 Responses to “Preview: Ext GWT Grid, Grid Plugins, and EditableGrid”

  1. Jules says:

    Very nice. Ext GWT is looking amazing!

  2. nassaja says:

    As I know, now it is impossible to insert combo with divided hidden id and visual value into an editable grid. For this purpose it is necessary to write an artful code.

    And work with remote linked combo in an editable grid is a real hell.

    Jack, make to us comfortable linked combo with comfortable remote data and predefined values and comfortable binding to an editable grid.

  3. Pavel says:

    Decimal point of num keyboard doesn’t work in editable grid’s price column. It seems to be a bug.

  4. Darren says:

    ExtGWT is looking very good. What’s the timescale for the 1.1 release? Also, how stable is the SVN version?

  5. Daniele says:

    Hi,thanks for the post but I ask you if in GXT 1.1 the remote filtering on grid is allowed.

    Thanks

  6. EditableGrid is a Grid subtype !!

  7. Decimal point of num keyboard doesn’t work in editable grid’s price column. It seems to be a bug.

  8. Mono says:

    I like this example and try to use extjs-gwt in eclipse project. This is my first article about extjs-gwt:gxt
    http://extjs-gwt.blogspot.com
    See more about Extjs-gwt on Eclipse.
    I think this extjs-gwt article can help beginner to learn.

  9. yugi says:

    hi can anyone please help me out how can we add a table in the row expander –>Grid Plugins Advance cheers if they can reply me to ursiguy@sify.com

    thanks and the gwt is marvollous

  10. medyum says:

    As I know, now it is impossible to insert combo with divided hidden id and visual value into an editable grid. For this purpose it is necessary to write an artful code.

    And work with remote linked combo in an editable grid is a real hell. Medyum

  11. cinsellik says:

    I am grateful to you for this great content.

  12. As I know, now it is impossible to insert combo with divided hidden id and visual value into an editable grid. For this purpose it is necessary to write an artful code.

    And work with remote linked combo in an editable grid is a real hell.

    Jack, make to us comfortable linked combo with comfortable remote data and predefined values and comfortable binding to an editable grid.

  13. Decimal point of num keyboard doesn’t work in editable grid’s price column. It seems to be a bug.

  14. medyum says:

    As I know, now it is impossible to insert combo with divided hidden id and visual value into an editable grid. For this purpose it is necessary to write an artful code.

    And work with remote linked combo in an editable grid is a real hell.

    Jack, make to us comfortable linked combo with comfortable remote data and predefined values and comfortable binding to an editable grid.

  15. Decimal point of num keyboard doesn’t work in editable grid’s price column. It seems to be a bug.

  16. medyum says:

    it is very god blog ,thanks

  17. medyum says:

    this is very nice blog,thank you for all

  18. Karla Perla says:

    Hello

    I dont speak english but I promise to do the possible thing…

    I have a problem with a grid, I need to filter my information as your example, but I dont find the code.

    Can I help me?

    Than you very much in advance!!! =)

  19. fotokopi says:

    thank you everybody .This very important blog

  20. sagem says:

    thanks you everybody

  21. xerox says:

    Thanks a lot for the wonderful information

  22. kyocera says:

    Thanks a lot for the wonderful information

  23. mita says:

    Thanks a lot for the wonderful information

  24. lida says:

    n to take advantage of more of the ssnatddive fsunctialş

Leave a Reply

© 2006-2010 Ext JS, Inc.