PDA

View Full Version : Why RowEditor in not a part of 3.0 distribution


grzegorz.borkowski
06-24-2009, 03:40 PM
In the blog post http://extjs.com/blog/2009/05/04/ext-js-30-rc11-released/ among many new cool features in Ext 3.0 there is RowEditor mentioned. "Editing a row in a grid just got a lot easier. The RowEditor is another great new UI component allowing you to rapidly edit full rows in a grid." Looks cool, but when I tried to use it, I discovered that it's not a part of Ext 3.0 distribution. Its in Ext.ux namespace, and to use it, one has to find the working example which uses this RowEditor, and in the page source find the link to the RowEditor source, copy source to the project, etc... this makes no sense for me. If it is part of Ext 3.0 (and definitively should be), it should be bandled with distribution.
In current shape there is no documentation for it, and besides I cannot be sure about bug fixes, updates, keeping it in sync with new Ext versions etc...
So what's the reason for such poor treatment of RowEditor?
(BTW then same problem relates to RowExpander since Ext 2.x)

aconran
06-24-2009, 04:37 PM
grzergorz -

The RowEditor is one of our extensions that you can see illustrated in the SDK. It is bundled and distributed with the Ext 3.0 download. You can find the source to the RowEditor in examples/ux/RowEditor.js. RowEditor is also part of additional the ext-ux.js package which has been newly introduced.

Here are the ux's which are provided in the examples/ux/ directory for you to use and learn from:
# BufferView.js
# CenterLayout.js
# CheckColumn.js
# ColumnNodeUI.js
# DataView-more.js
# FileUploadField.js
# Focus.js
# GMapPanel.js
# GroupSummary.js
# GroupTab.js
# GroupTabPanel.js
# ItemSelector.js
# MultiSelect.js
# PagingMemoryProxy.js
# PanelResizer.js
# Portal.js
# PortalColumn.js
# Portlet.js
# ProgressBarPager.js
# RowEditor.js
# RowExpander.js
# RowLayout.js
# SearchField.js
# SelectBox.js
# SliderTip.js
# SlidingPager.js
# Spinner.js
# SpinnerField.js
# Spotlight.js
# StatusBar.js
# TabCloseMenu.js
# TabScrollerMenu.js
# TableGrid.js
# XmlTreeLoader.js

grzegorz.borkowski
06-24-2009, 04:56 PM
Thanks Aaron... After many months, I'm still impressed with the fast responses I get on this forum... That's the best support forum I've ever seen in any project, really.

But, cutting to the chase, the list looks really impressive. But the question is: is it documented somewhere (something along the standard Ext API documentation: http://extjs.com/deploy/ext-3.0-rc2/docs/)? For example RowEditor takes some config options, it would be helpful to have them documented. (Looking into source I see there are no documentation comments there, so probably not, unfortunately...)

aconran
06-24-2009, 05:42 PM
grzegorz -

At this point the ux's are not documented in the documentation we distribute. However, we are currently working on adding the comments into the files in this directory. The RowEditor already has a bunch of documentation in SVN regarding the events available and the purpose of the RowEditor.

We are considering putting the additional ux's into the official docs under their own namespace.