Easy to use GWT editable datagrid?

I need guidance from people who have implemented an easy to use GWT editable datagrid.

I spent 4 hours with the PagingScrollTable in gwt-incubator-july-14-2009.jar and would now like to try other options.

What I am looking for:

  • easy to get started (e.g. drop jar, edit .gwt.xml)
  • advanced features after you get started
  • advanced features documentation
  • stand-alone module with minimal dependencies on other modules, jars or components
  • low cost / free

That's all:)

+2


source to share


3 answers


Hi HJO there are many solutions to the problem, depending on what you want. The GWT-EXT, EXT-GWt and SmartGWT libraries have an editable data grid. Or you can make your own with FlexTable, ScrollPanel, TextBox and add some event handlers. Both GWT-EXT and SmartGWT are under the LGPL license and I believe EXT-GWT is GPL license. If you are not doing this for production, then anyone will, but if you are doing this for a large production environment, I suggest checking each of your metrics first. I suggest choosing something light and reliable over simplicity and looks in a production setting. In the end, the less data / widget loaded, the fewer handlers = performance and a happy user.



Take care, NingZhang.info

+1


source


Please, for heaven's sake, stick with vanilla GWT. Just use GWT tables, tables and data trees.

Smart-GWT and GXT look really good in their demo. for example, Smart-GWT has widgets that accept xml / json datasource directly, which will save you time.

But you will find that your application requirements "just need such a tiny tweak" in how the widget eats the data source. Both GXT and Smart-GWT have attractive user-friendly widgets, but you will find that you need to tweak "a little" to fit your needs.

Is your "little" setting "important"? So, you resort to writing a patch for this "little" setting. And soon you will find that there is a whole interior of "small" settings. You experiment and study and try not to test the means.



Finally, you will find that you could also use vanilla GWT, which would take you less time to get the behavior you want. Vanilla GWT has been tested and verified.

Don't be tempted by SmartGWT or GXT showcases. Learn CSS and learn how to integrate CSS into vanilla GWT, making your widgets as attractive as SmartGWT or GXT.

Then you won't regret it, because you won't have any obstacles to using other GWT functions.

That's good enough for Google.

+6


source


I don't recommend using the GWT DataGrid for production (in GWT 2.4) unless you like workarounds for a few bugs (most of them in Internet Explorer):    http://code.google.com/p/google-web-toolkit/ issues / detail? id = 7065   http://code.google.com/p/google-web-toolkit/issues/detail?id=7347   http://code.google.com/p/google-web-toolkit/ issues / detail? id = 7139   http://code.google.com/p/google-web-toolkit/issues/detail?id=6747

I am using CellTable instead of DataGrid and am awaiting bug fixes from GWT command.

0


source







All Articles